From 16c04b50ee5e4274642a1fd5b3e18f4bfb76a8e0 Mon Sep 17 00:00:00 2001 From: Miguel Portilla Date: Tue, 2 Sep 2014 18:38:04 -0400 Subject: [PATCH] Add date to tx command (RIPD-542) --- src/ripple/module/rpc/handlers/Tx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ripple/module/rpc/handlers/Tx.cpp b/src/ripple/module/rpc/handlers/Tx.cpp index c69203f23..33f67be6a 100644 --- a/src/ripple/module/rpc/handlers/Tx.cpp +++ b/src/ripple/module/rpc/handlers/Tx.cpp @@ -46,9 +46,9 @@ Json::Value doTx (RPC::Context& context) #ifdef READY_FOR_NEW_TX_FORMAT // TODO(tom): what new format is this? Json::Value ret; - ret[jss::transaction] = txn->getJson (0, binary); + ret[jss::transaction] = txn->getJson (1, binary); #else - Json::Value ret = txn->getJson (0, binary); + Json::Value ret = txn->getJson (1, binary); #endif if (txn->getLedger () != 0)