mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
Get names of transactions and ledger types from jss
This commit is contained in:
committed by
Manoj doshi
parent
be139d9bde
commit
b39b0fef39
@@ -35,7 +35,7 @@ pay (Account const& account,
|
||||
jv[jss::Account] = account.human();
|
||||
jv[jss::Amount] = amount.value.getJson(0);
|
||||
jv[jss::Destination] = to.human();
|
||||
jv[jss::TransactionType] = "Payment";
|
||||
jv[jss::TransactionType] = jss::Payment;
|
||||
jv[jss::Flags] = tfUniversal;
|
||||
return jv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user