mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Get names of transactions and ledger types from jss
This commit is contained in:
committed by
Manoj doshi
parent
be139d9bde
commit
b39b0fef39
@@ -33,7 +33,7 @@ auth (jtx::Account const& account, jtx::Account const& auth)
|
||||
Json::Value jv;
|
||||
jv[sfAccount.jsonName] = account.human();
|
||||
jv[sfAuthorize.jsonName] = auth.human();
|
||||
jv[sfTransactionType.jsonName] = "DepositPreauth";
|
||||
jv[sfTransactionType.jsonName] = jss::DepositPreauth;
|
||||
return jv;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ unauth (jtx::Account const& account, jtx::Account const& unauth)
|
||||
Json::Value jv;
|
||||
jv[sfAccount.jsonName] = account.human();
|
||||
jv[sfUnauthorize.jsonName] = unauth.human();
|
||||
jv[sfTransactionType.jsonName] = "DepositPreauth";
|
||||
jv[sfTransactionType.jsonName] = jss::DepositPreauth;
|
||||
return jv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user