diff options
author | jtimon <jtimon@monetize.io> | 2014-06-28 23:36:06 +0200 |
---|---|---|
committer | jtimon <jtimon@monetize.io> | 2014-07-07 10:20:28 +0200 |
commit | 209377a7cb5a9ea5d724faf94846ee5bacd289e7 (patch) | |
tree | 41a311498d0758dfb108bc5d03037e5b08bb654f /src/rpcwallet.cpp | |
parent | 6654a87e7b2bd5d1d4a5c0af70d0468dfde300a9 (diff) |
Use GetBlockTime() more
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 38e96133b4..6fd46fdcc5 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())); |