txtime
authorfsb4000 <fsb4000@yandex.ru>
Thu, 27 Nov 2014 10:45:39 +0000 (16:45 +0600)
committerfsb4000 <fsb4000@yandex.ru>
Thu, 27 Nov 2014 10:45:39 +0000 (16:45 +0600)
Display the transaction time instead of the reception time.
(При importprivkey у импортируемых транзакций показывалось неправильная
дата(текущая, а не когда действительно совершалась транзакция))

src/wallet.cpp

index fd4ac6a..36ccc62 100644 (file)
@@ -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