Skip to content

Commit

Permalink
Don't retry locks when new IS system is disabled
Browse files Browse the repository at this point in the history
Retrying still failed, but this spammed logs quite a bit.
  • Loading branch information
codablock committed Apr 5, 2019
1 parent 1caee15 commit 248ae5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/llmq/quorums_instantsend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,8 +850,10 @@ void CInstantSendManager::HandleFullyConfirmedBlock(const CBlockIndex* pindex)
UpdateWalletTransaction(p.second->txid, nullptr);
}

// Retry all not yet locked mempool TXs and TX which where mined after the fully confirmed block
RetryLockTxs(uint256());
if (IsNewInstantSendEnabled()) {
// Retry all not yet locked mempool TXs and TX which where mined after the fully confirmed block
RetryLockTxs(uint256());
}
}

void CInstantSendManager::RemoveMempoolConflictsForLock(const uint256& hash, const CInstantSendLock& islock)
Expand Down

0 comments on commit 248ae5d

Please sign in to comment.