diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-30 19:40:41 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-30 19:29:23 -0400 |
commit | faebb60b8d009e52d585cffd0f124a0f2fd1a66d (patch) | |
tree | 3660fc5a9d87437d2a8215c253202790a980299f /src/qt | |
parent | 8d3187fd0d6d2a2c9dd6d6d2c2d5b2128f6a74f6 (diff) |
doc: Remove outdated comment in TransactionTablePriv
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 22ba5187bb..c560dc58e7 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -178,17 +178,12 @@ public: TransactionRecord* index(interfaces::Wallet& wallet, const uint256& cur_block_hash, const int idx) { - if(idx >= 0 && idx < cachedWallet.size()) - { + if (idx >= 0 && idx < cachedWallet.size()) { TransactionRecord *rec = &cachedWallet[idx]; - // Get required locks upfront. This avoids the GUI from getting - // stuck if the core is holding the locks for a longer time - for - // example, during a wallet rescan. - // // If a status update is needed (blocks came in since last check), - // update the status of this transaction from the wallet. Otherwise, - // simply re-use the cached status. + // try to update the status of this transaction from the wallet. + // Otherwise, simply re-use the cached status. interfaces::WalletTxStatus wtx; int numBlocks; int64_t block_time; |