mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
Fix use-after-free in CTxMemPool::removeConflicts()
This commit is contained in:
parent
07fd147b9f
commit
fe7e593b24
1 changed files with 1 additions and 1 deletions
|
@ -581,8 +581,8 @@ void CTxMemPool::removeConflicts(const CTransaction &tx)
|
||||||
const CTransaction &txConflict = *it->second;
|
const CTransaction &txConflict = *it->second;
|
||||||
if (txConflict != tx)
|
if (txConflict != tx)
|
||||||
{
|
{
|
||||||
removeRecursive(txConflict);
|
|
||||||
ClearPrioritisation(txConflict.GetHash());
|
ClearPrioritisation(txConflict.GetHash());
|
||||||
|
removeRecursive(txConflict);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue