mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add JsonOptions enum class to contain options passed to getJSON methods
This commit is contained in:
@@ -227,10 +227,10 @@ static Json::Value checkPayment(
|
||||
auto j = app.journal ("RPCHandler");
|
||||
JLOG (j.debug())
|
||||
<< "transactionSign: build_path: "
|
||||
<< result.getJson (0);
|
||||
<< result.getJson (JsonOptions::none);
|
||||
|
||||
if (! result.empty ())
|
||||
tx_json[jss::Paths] = result.getJson (0);
|
||||
tx_json[jss::Paths] = result.getJson (JsonOptions::none);
|
||||
}
|
||||
}
|
||||
return Json::Value();
|
||||
@@ -629,7 +629,7 @@ static Json::Value transactionFormatResultImpl (Transaction::pointer tpTrans)
|
||||
Json::Value jvResult;
|
||||
try
|
||||
{
|
||||
jvResult[jss::tx_json] = tpTrans->getJson (0);
|
||||
jvResult[jss::tx_json] = tpTrans->getJson (JsonOptions::none);
|
||||
jvResult[jss::tx_blob] = strHex (
|
||||
tpTrans->getSTransaction ()->getSerializer ().peekData ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user