diff options
| author | Gavin Andresen <[email protected]> | 2011-01-05 09:52:52 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-01-05 09:52:52 -0500 |
| commit | f86655fdddb519f59ab70043d0c065aca807b94f (patch) | |
| tree | a6d9833391f245edd1358e2855d777842a5901a6 /rpc.cpp | |
| parent | Add address to listtransactions output (diff) | |
| download | discoin-f86655fdddb519f59ab70043d0c065aca807b94f.tar.xz discoin-f86655fdddb519f59ab70043d0c065aca807b94f.zip | |
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)); |