Don't retry locks when new IS system is disabled (#2837)

Retrying still failed, but this spammed logs quite a bit.
This commit is contained in:
Alexander Block 2019-04-05 14:38:58 +02:00 committed by GitHub
parent 92feade817
commit f8bedba7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;