Skip to content

Commit

Permalink
Don't retry locks when new IS system is disabled (#2837)
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 92feade commit f8bedba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/llmq/quorums_instantsend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,10 @@ void CInstantSendManager::RemoveMempoolConflictsForLock(const uint256& hash, con

void CInstantSendManager::RetryLockTxs(const uint256& lockedParentTx)
{
if (!IsNewInstantSendEnabled()) {
return;
}

// Let's retry all unlocked TXs from mempool and and recently connected blocks

std::unordered_map<uint256, CTransactionRef> txs;
Expand Down

0 comments on commit f8bedba

Please sign in to comment.