File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -178,17 +178,12 @@ class TransactionTablePriv
178
178
179
179
TransactionRecord* index (interfaces::Wallet& wallet, const uint256& cur_block_hash, const int idx)
180
180
{
181
- if (idx >= 0 && idx < cachedWallet.size ())
182
- {
181
+ if (idx >= 0 && idx < cachedWallet.size ()) {
183
182
TransactionRecord *rec = &cachedWallet[idx];
184
183
185
- // Get required locks upfront. This avoids the GUI from getting
186
- // stuck if the core is holding the locks for a longer time - for
187
- // example, during a wallet rescan.
188
- //
189
184
// If a status update is needed (blocks came in since last check),
190
- // update the status of this transaction from the wallet. Otherwise,
191
- // simply re-use the cached status.
185
+ // try to update the status of this transaction from the wallet.
186
+ // Otherwise, simply re-use the cached status.
192
187
interfaces::WalletTxStatus wtx;
193
188
int numBlocks;
194
189
int64_t block_time;
You can’t perform that action at this time.
0 commit comments