aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2011-01-06 08:56:10 -0500
committerGavin Andresen <[email protected]>2011-01-06 08:56:10 -0500
commit009d5fb41f3aa39baeeb3f72454cdc14459fc67e (patch)
treef1d9af67dc294778d77dc406b8bf626a5bc2759d /rpc.cpp
parentMerge branch 'listaddresses' of https://github.com/gavinandresen/bitcoin-git (diff)
parentAdd time to category:move transactions. (diff)
downloaddiscoin-009d5fb41f3aa39baeeb3f72454cdc14459fc67e.tar.xz
discoin-009d5fb41f3aa39baeeb3f72454cdc14459fc67e.zip
Merge branch 'listaddresses' into integration
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 aede2e4c4..520921972 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));