Skip to content

Commit

Permalink
Fix mempool reorg issue
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Fieroni <[email protected]>
  • Loading branch information
bvbfan committed Jan 14, 2022
1 parent 06f2ed8 commit 65aa753
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,7 @@ void CTxMemPool::clear()
{
LOCK(cs);
_clear();
if (pcustomcsview) {
accountsView().Discard();
}
acview.reset();
}

static void CheckInputsAndUpdateCoins(const CTransaction& tx, CCoinsViewCache& mempoolDuplicate, const CCustomCSView * mnview, const int64_t spendheight, const CChainParams& chainparams)
Expand Down

0 comments on commit 65aa753

Please sign in to comment.