aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-01-05 09:52:52 -0500
committerGavin Andresen <gavinandresen@gmail.com>2011-01-05 09:52:52 -0500
commitf86655fdddb519f59ab70043d0c065aca807b94f (patch)
treea6d9833391f245edd1358e2855d777842a5901a6 /rpc.cpp
parentddb68acebe0c41e1958a783c38a272ae11671f86 (diff)
Add time to category:move transactions.
Diffstat (limited to 'rpc.cpp')
-rw-r--r--rpc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc.cpp b/rpc.cpp
index aede2e4c4c..520921972f 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -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));