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
@@ -270,7 +270,7 @@ class TrustAndBalance_test : public beast::unit_test::suite
|
||||
[](auto const& jv)
|
||||
{
|
||||
auto const& t = jv[jss::transaction];
|
||||
return t[jss::TransactionType] == "Payment";
|
||||
return t[jss::TransactionType] == jss::Payment;
|
||||
}));
|
||||
BEAST_EXPECT(wsc->findMsg(5s,
|
||||
[](auto const& jv)
|
||||
@@ -477,7 +477,7 @@ class TrustAndBalance_test : public beast::unit_test::suite
|
||||
{
|
||||
auto const& t = jv[jss::transaction];
|
||||
return
|
||||
t[jss::TransactionType] == "Payment" &&
|
||||
t[jss::TransactionType] == jss::Payment &&
|
||||
t[sfInvoiceID.fieldName] ==
|
||||
"0000000000000000"
|
||||
"0000000000000000"
|
||||
|
||||
Reference in New Issue
Block a user