diff options
author | Peter Bushnell <bushsolo@gmail.com> | 2022-01-31 07:52:44 +0000 |
---|---|---|
committer | Peter Bushnell <bushsolo@gmail.com> | 2022-01-31 07:52:44 +0000 |
commit | 9d65ad365c539557e969a35d22723d92e0b422fe (patch) | |
tree | b8412a1ff9cb0cd02bc1a3ccfcff5bccc26f9641 /src/txmempool.cpp | |
parent | af7b077973526e5cfc4f909349e020fe36013ced (diff) |
Clear vTxHashes when mapTx is cleared
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r-- | src/txmempool.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index fb5652d0a0..1548d80ed1 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -704,6 +704,7 @@ void CTxMemPool::removeForBlock(const std::vector<CTransactionRef>& vtx, unsigne void CTxMemPool::_clear() { + vTxHashes.clear(); mapTx.clear(); mapNextTx.clear(); totalTxSize = 0; |