Rename CTxMemPool::remove -> removeRecursive
This commit is contained in:
@@ -3192,7 +3192,7 @@ bool static DisconnectTip(CValidationState& state, const Consensus::Params& cons
|
||||
list<CTransaction> removed;
|
||||
CValidationState stateDummy;
|
||||
if (tx.IsCoinBase() || tx.IsCoinStake() || !AcceptToMemoryPool(mempool, stateDummy, tx, false, NULL, true)) {
|
||||
mempool.remove(tx, removed, true);
|
||||
mempool.removeRecursive(tx, removed);
|
||||
} else if (mempool.exists(tx.GetHash())) {
|
||||
vHashUpdate.push_back(tx.GetHash());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user