mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add date to tx command (RIPD-542)
This commit is contained in:
committed by
Nik Bougalis
parent
56c18f7768
commit
16c04b50ee
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user