Skip to content

Commit

Permalink
doc: Remove outdated comment in TransactionTablePriv
Browse files Browse the repository at this point in the history
Summary: This is a backport of [[bitcoin-core/gui#17 | core-gui#17]]

Test Plan: Proofreading

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D9973
  • Loading branch information
MarcoFalke authored and PiRK committed Aug 30, 2021
1 parent 2f45cfe commit c3833ec
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/qt/transactiontablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,9 @@ class TransactionTablePriv {
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;
Expand Down

0 comments on commit c3833ec

Please sign in to comment.