diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-07 10:28:31 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-07 10:29:10 +0200 |
commit | 4851d0960313a43b754d8b652ffe194fbb52c597 (patch) | |
tree | 92859c1d16409ac6adf8b13140ba3527d27c72c4 /src/rpcwallet.cpp | |
parent | 5e1b7a23b056734c84226b20176aa221903ea28e (diff) | |
parent | 209377a7cb5a9ea5d724faf94846ee5bacd289e7 (diff) |
Merge pull request #4446
209377a Use GetBlockTime() more (jtimon)
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r-- | src/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 639b21f120..71a6058358 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -50,7 +50,7 @@ void WalletTxToJSON(const CWalletTx& wtx, Object& entry) { entry.push_back(Pair("blockhash", wtx.hashBlock.GetHex())); entry.push_back(Pair("blockindex", wtx.nIndex)); - entry.push_back(Pair("blocktime", (int64_t)(mapBlockIndex[wtx.hashBlock]->nTime))); + entry.push_back(Pair("blocktime", mapBlockIndex[wtx.hashBlock]->GetBlockTime())); } uint256 hash = wtx.GetHash(); entry.push_back(Pair("txid", hash.GetHex())); |