mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +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)
|
if (!txn)
|
||||||
return rpcError(rpcTXN_NOT_FOUND);
|
return rpcError(rpcTXN_NOT_FOUND);
|
||||||
|
|
||||||
|
#ifdef READY_FOR_NEW_TX_FORMAT
|
||||||
Json::Value ret;
|
Json::Value ret;
|
||||||
|
|
||||||
ret["transaction"] = txn->getJson(0, binary);
|
ret["transaction"] = txn->getJson(0, binary);
|
||||||
|
#else
|
||||||
|
Json::Value ret = txn->getJson(0, binary);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (txn->getLedger() != 0)
|
if (txn->getLedger() != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user