diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-04-21 18:21:19 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-04-21 18:21:19 +0200 |
| commit | b6c837cbe130c7c38fd6ea7632219a3479d8b3a4 (patch) | |
| tree | 29e39d64a21ee5fecc57c6b06a0c7bdd8d1cfee8 /src | |
| parent | change type of various bare chars to bool that are only used as bool (and nev... (diff) | |
| download | discoin-b6c837cbe130c7c38fd6ea7632219a3479d8b3a4.tar.xz discoin-b6c837cbe130c7c38fd6ea7632219a3479d8b3a4.zip | |
Remove no-longer used UI hints in bitcoin core
The Qt UI has its own associated structures for temporary transaction state / cache.
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/transactionrecord.cpp | 2 | ||||
| -rw-r--r-- | src/wallet.h | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index 32350eaa5..90fc5b7da 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -33,7 +33,7 @@ bool TransactionRecord::showTransaction(const CWalletTx &wtx) QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet *wallet, const CWalletTx &wtx) { QList<TransactionRecord> parts; - int64 nTime = wtx.nTimeDisplayed = wtx.GetTxTime(); + int64 nTime = wtx.GetTxTime(); int64 nCredit = wtx.GetCredit(true); int64 nDebit = wtx.GetDebit(); int64 nNet = nCredit - nDebit; diff --git a/src/wallet.h b/src/wallet.h index 37cf549b9..49d21d1c4 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -326,11 +326,6 @@ public: mutable int64 nAvailableCreditCached; mutable int64 nChangeCached; - // memory only UI hints - mutable unsigned int nTimeDisplayed; - mutable int nLinesDisplayed; - mutable char fConfirmedDisplayed; - CWalletTx() { Init(NULL); @@ -370,9 +365,6 @@ public: nCreditCached = 0; nAvailableCreditCached = 0; nChangeCached = 0; - nTimeDisplayed = 0; - nLinesDisplayed = 0; - fConfirmedDisplayed = false; } IMPLEMENT_SERIALIZE |