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
@@ -103,7 +103,7 @@ public:
|
||||
bool
|
||||
checkTxn(Json::Value const& t, Json::Value const& metaData)
|
||||
{
|
||||
if (t[jss::TransactionType].asString() != "Payment")
|
||||
if (t[jss::TransactionType].asString() != jss::Payment)
|
||||
return true;
|
||||
|
||||
bool isSet = metaData.isMember(jss::delivered_amount);
|
||||
|
||||
Reference in New Issue
Block a user