From ec8b388a8b79e483fd780df502bc26e50a1b456c Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 25 Feb 2013 21:18:29 -0800 Subject: [PATCH] Temporarily revert the 'tx' format change until I can confirm it won't break the client. --- src/cpp/ripple/RPCHandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/RPCHandler.cpp b/src/cpp/ripple/RPCHandler.cpp index a204fb502..d8fe8d02d 100644 --- a/src/cpp/ripple/RPCHandler.cpp +++ b/src/cpp/ripple/RPCHandler.cpp @@ -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) {