Rename CTxMemPool::remove -> removeRecursive

This commit is contained in:
Suhas Daftuar
2015-10-19 12:43:38 -04:00
committed by lateminer
parent ff1f0ead66
commit e001fd3ea4
4 changed files with 19 additions and 23 deletions

View File

@@ -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());
}