Browse Source

Merge pull request #2259 from Criptomonedas/dontresend

Do not call ResendWalletTransactions when reindexing or importing
miguelfreitas
Gavin Andresen 12 years ago
parent
commit
43ba1a19b8
  1. 5
      src/main.cpp

5
src/main.cpp

@ -3812,7 +3812,12 @@ bool SendMessages(CNode* pto, bool fSendTrickle) @@ -3812,7 +3812,12 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
}
// Resend wallet transactions that haven't gotten in a block yet
// Except during reindex, importing and IBD, when old wallet
// transactions become unconfirmed and spams other nodes.
if (!fReindex && !fImporting && !IsInitialBlockDownload())
{
ResendWalletTransactions();
}
// Address refresh broadcast
static int64 nLastRebroadcast;

Loading…
Cancel
Save