mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add JsonOptions enum class to contain options passed to getJSON methods
This commit is contained in:
@@ -91,7 +91,7 @@ class TransactionHistory_test : public beast::unit_test::suite
|
||||
|
||||
// search for a tx in history matching the last offer
|
||||
bool const txFound = [&] {
|
||||
auto const toFind = env.tx()->getJson(0);
|
||||
auto const toFind = env.tx()->getJson(JsonOptions::none);
|
||||
for (auto tx : result[jss::txs])
|
||||
{
|
||||
tx.removeMember(jss::inLedger);
|
||||
|
||||
Reference in New Issue
Block a user