[wallet] remove nLastResend logic

remove nLastResend because it's unnecessary now that rebroadcasts always happen at least 12 hours later
This commit is contained in:
gzhao408
2020-05-01 17:22:59 -07:00
parent dc5333d31f
commit d160069604
2 changed files with 0 additions and 5 deletions

View File

@@ -1982,10 +1982,6 @@ void CWallet::ResendWalletTransactions()
nNextResend = GetTime() + (12 * 60 * 60) + GetRand(24 * 60 * 60);
if (fFirst) return;
// Only do it if there's been a new block since last time
if (m_best_block_time < nLastResend) return;
nLastResend = GetTime();
int submitted_tx_count = 0;
{ // cs_wallet scope