mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 05:55:51 +00:00
Temporarily revert the 'tx' format change until I can confirm it won't break the client.
This commit is contained in:
@@ -1446,9 +1446,12 @@ Json::Value RPCHandler::doTx(Json::Value jvRequest)
|
||||
if (!txn)
|
||||
return rpcError(rpcTXN_NOT_FOUND);
|
||||
|
||||
#ifdef READY_FOR_NEW_TX_FORMAT
|
||||
Json::Value ret;
|
||||
|
||||
ret["transaction"] = txn->getJson(0, binary);
|
||||
#else
|
||||
Json::Value ret = txn->getJson(0, binary);
|
||||
#endif
|
||||
|
||||
if (txn->getLedger() != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user