Skip to content

Commit 260930e

Browse files
committed
Do not try to resend transactions if the node is importing or in IBD.
1 parent 4074208 commit 260930e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6197,7 +6197,7 @@ bool SendMessages(CNode* pto)
61976197
// Resend wallet transactions that haven't gotten in a block yet
61986198
// Except during reindex, importing and IBD, when old wallet
61996199
// transactions become unconfirmed and spams other nodes.
6200-
if (!fReindex /*&& !fImporting && !IsInitialBlockDownload()*/) {
6200+
if (!fReindex && !fImporting && !IsInitialBlockDownload()) {
62016201
GetMainSignals().Broadcast();
62026202
}
62036203

0 commit comments

Comments
 (0)