Skip to content

Commit d8449ae

Browse files
committed
fix: stop trying to sign pending txes when they are no longer non-locked
1 parent 58f7032 commit d8449ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/llmq/instantsend.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,8 @@ void CInstantSendManager::RemoveNonLockedTx(const uint256& txid, bool retryChild
12021202
retryChildrenCount++;
12031203
}
12041204
}
1205+
// don't try to lock it anymore
1206+
WITH_LOCK(cs_pendingRetry, pendingRetryTxs.erase(txid));
12051207

12061208
if (info.tx) {
12071209
for (const auto& in : info.tx->vin) {

0 commit comments

Comments
 (0)