Temporarily revert the 'tx' format change until I can confirm it won't break the client.

This commit is contained in:
JoelKatz
2013-02-25 21:18:29 -08:00
parent 7b14d2d44a
commit ec8b388a8b

View File

@@ -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)
{