mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
Missed a int64_t cast when I added transaction time output
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@205 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
parent
59948a6e1c
commit
1c0bf23ba2
2
rpc.cpp
2
rpc.cpp
@ -80,7 +80,7 @@ void WalletTxToJSON(const CWalletTx& wtx, Object& entry)
|
|||||||
{
|
{
|
||||||
entry.push_back(Pair("confirmations", wtx.GetDepthInMainChain()));
|
entry.push_back(Pair("confirmations", wtx.GetDepthInMainChain()));
|
||||||
entry.push_back(Pair("txid", wtx.GetHash().GetHex()));
|
entry.push_back(Pair("txid", wtx.GetHash().GetHex()));
|
||||||
entry.push_back(Pair("time", wtx.GetTxTime()));
|
entry.push_back(Pair("time", (boost::int64_t)wtx.GetTxTime()));
|
||||||
foreach(const PAIRTYPE(string,string)& item, wtx.mapValue)
|
foreach(const PAIRTYPE(string,string)& item, wtx.mapValue)
|
||||||
entry.push_back(Pair(item.first, item.second));
|
entry.push_back(Pair(item.first, item.second));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user