Get names of transactions and ledger types from jss

This commit is contained in:
Scott Schurr
2019-05-01 10:52:39 -07:00
committed by Manoj doshi
parent be139d9bde
commit b39b0fef39
39 changed files with 216 additions and 170 deletions

View File

@@ -230,7 +230,7 @@ class TransactionEntry_test : public beast::unit_test::suite
env.close();
check_tx(env.closed()->seq(), trust_tx);
check_tx(env.closed()->seq(), pay_tx, "Payment");
check_tx(env.closed()->seq(), pay_tx, jss::Payment.c_str());
env(offer(A2, XRP(100), A2["USD"](1)));
auto offer_tx =
@@ -238,7 +238,7 @@ class TransactionEntry_test : public beast::unit_test::suite
env.close();
check_tx(env.closed()->seq(), offer_tx, "OfferCreate");
check_tx(env.closed()->seq(), offer_tx, jss::OfferCreate.c_str());
}
public: