Add date to tx command (RIPD-542)

This commit is contained in:
Miguel Portilla
2014-09-02 18:38:04 -04:00
committed by Nik Bougalis
parent 56c18f7768
commit 16c04b50ee

View File

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