mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
Fix use-after-free in CTxMemPool::removeConflicts()
This commit is contained in:
parent
07fd147b9f
commit
fe7e593b24
@ -581,8 +581,8 @@ void CTxMemPool::removeConflicts(const CTransaction &tx)
|
||||
const CTransaction &txConflict = *it->second;
|
||||
if (txConflict != tx)
|
||||
{
|
||||
removeRecursive(txConflict);
|
||||
ClearPrioritisation(txConflict.GetHash());
|
||||
removeRecursive(txConflict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user