Browse Source

Fix use-after-free in CTxMemPool::removeConflicts()

0.14
Suhas Daftuar 8 years ago
parent
commit
fe7e593b24
  1. 2
      src/txmempool.cpp

2
src/txmempool.cpp

@ -581,8 +581,8 @@ void CTxMemPool::removeConflicts(const CTransaction &tx) @@ -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…
Cancel
Save