From: fsb4000 Date: Thu, 27 Nov 2014 10:45:39 +0000 (+0600) Subject: txtime X-Git-Tag: nvc-v0.5.0~18^2^2~1 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=e15bd794f98272a17adfc447adf68011ababf8bd;hp=2cf5c9d33038087d169cd9d04b145452e11b9f34 txtime Display the transaction time instead of the reception time. (При importprivkey у импортируемых транзакций показывалось неправильная дата(текущая, а не когда действительно совершалась транзакция)) --- diff --git a/src/wallet.cpp b/src/wallet.cpp index fd4ac6a..36ccc62 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -648,8 +648,7 @@ bool CWallet::IsChange(const CTxOut& txout) const int64 CWalletTx::GetTxTime() const { - int64 n = nTimeSmart; - return n ? n : nTimeReceived; + return nTime; } int CWalletTx::GetRequestCount() const