mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 15:27:57 +00:00
Add time to category:move transactions.
This commit is contained in:
parent
ddb68acebe
commit
f86655fddd
1
rpc.cpp
1
rpc.cpp
@ -927,6 +927,7 @@ void AcentryToJSON(const CAccountingEntry& acentry, const string& strAccount, Ar
|
|||||||
Object entry;
|
Object entry;
|
||||||
entry.push_back(Pair("account", acentry.strAccount));
|
entry.push_back(Pair("account", acentry.strAccount));
|
||||||
entry.push_back(Pair("category", "move"));
|
entry.push_back(Pair("category", "move"));
|
||||||
|
entry.push_back(Pair("time", (boost::int64_t)acentry.nTime));
|
||||||
entry.push_back(Pair("amount", ValueFromAmount(acentry.nCreditDebit)));
|
entry.push_back(Pair("amount", ValueFromAmount(acentry.nCreditDebit)));
|
||||||
entry.push_back(Pair("otheraccount", acentry.strOtherAccount));
|
entry.push_back(Pair("otheraccount", acentry.strOtherAccount));
|
||||||
entry.push_back(Pair("comment", acentry.strComment));
|
entry.push_back(Pair("comment", acentry.strComment));
|
||||||
|
Loading…
Reference in New Issue
Block a user