diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-08-23 12:38:50 -0700 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-08-23 12:38:50 -0700 |
commit | 47753fa369f15274718779ffea1e2f151aa8307d (patch) | |
tree | 0caa89a1b21692c7e9a1dc03404280455186773f /src/rpcrawtransaction.cpp | |
parent | cf78183fadac6e9fccb51c7355cfa34641fc06d5 (diff) | |
parent | c3f95ef13f48d21db53992984976eac93e7a08fc (diff) |
Merge pull request #1393 from luke-jr/refactor_times
Refactor transaction/accounting time
Diffstat (limited to 'src/rpcrawtransaction.cpp')
-rw-r--r-- | src/rpcrawtransaction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 29b9d072d6..fefefc7d62 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -93,6 +93,7 @@ TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry) { entry.push_back(Pair("confirmations", 1 + nBestHeight - pindex->nHeight)); entry.push_back(Pair("time", (boost::int64_t)pindex->nTime)); + entry.push_back(Pair("blocktime", (boost::int64_t)pindex->nTime)); } else entry.push_back(Pair("confirmations", 0)); |