Skip to content

Commit fe7e593

Browse files
committed
Fix use-after-free in CTxMemPool::removeConflicts()
1 parent 07fd147 commit fe7e593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/txmempool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,8 @@ void CTxMemPool::removeConflicts(const CTransaction &tx)
581581
const CTransaction &txConflict = *it->second;
582582
if (txConflict != tx)
583583
{
584-
removeRecursive(txConflict);
585584
ClearPrioritisation(txConflict.GetHash());
585+
removeRecursive(txConflict);
586586
}
587587
}
588588
}

0 commit comments

Comments
 (0)