Clear vTxHashes when mapTx is cleared
This commit is contained in:
1 parent
af7b077973
commit
9d65ad365c
1 file changed
+1
@@ -704,6 +704,7 @@ void CTxMemPool::removeForBlock(const std::vector<CTransactionRef>& vtx, unsigne
|
||||
|
||||
void CTxMemPool::_clear()
|
||||
{
|
||||
vTxHashes.clear();
|
||||
mapTx.clear();
|
||||
mapNextTx.clear();
|
||||
totalTxSize = 0;
|
||||
|
||||
Reference in new issue
Block a user