mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
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:
parent
92feade817
commit
f8bedba7c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user