From 6c7f8711d4cf8ecac4be0faf15883ba88c089963 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Thu, 1 Nov 2018 23:05:19 +0800 Subject: [PATCH] oops --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2b33ddef5..560bd55ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4264,7 +4264,7 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C } BOOST_FOREACH(const CTransaction& tx, transactionsToRemove) { list removed; - remove(tx, removed, false); + mempool.remove(tx, removed, false); } // add all the txs in the block to the empty mempool. while ( 1 )