diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-01-05 09:52:52 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-01-05 09:52:52 -0500 |
commit | f86655fdddb519f59ab70043d0c065aca807b94f (patch) | |
tree | a6d9833391f245edd1358e2855d777842a5901a6 /rpc.cpp | |
parent | ddb68acebe0c41e1958a783c38a272ae11671f86 (diff) |
Add time to category:move transactions.
Diffstat (limited to 'rpc.cpp')
-rw-r--r-- | rpc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -927,6 +927,7 @@ void AcentryToJSON(const CAccountingEntry& acentry, const string& strAccount, Ar Object entry; entry.push_back(Pair("account", acentry.strAccount)); 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("otheraccount", acentry.strOtherAccount)); entry.push_back(Pair("comment", acentry.strComment)); |