fix: stop trying to sign pending txes when they are no longer non-locked

This commit is contained in:
UdjinM6 2024-08-05 10:27:23 +03:00
parent 58f703247b
commit d8449aecf9
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -1202,6 +1202,8 @@ void CInstantSendManager::RemoveNonLockedTx(const uint256& txid, bool retryChild
retryChildrenCount++;
}
}
// don't try to lock it anymore
WITH_LOCK(cs_pendingRetry, pendingRetryTxs.erase(txid));
if (info.tx) {
for (const auto& in : info.tx->vin) {