diff options
author | Matt Corallo <git@bluematt.me> | 2015-08-26 18:58:17 -0700 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2015-11-30 13:02:04 -0500 |
commit | 9b060e5cfb0d185b553b21ae19d390f81e83bd4d (patch) | |
tree | 102cf99621b43a118cc0239990bf5a25614f43d6 /src/txmempool.h | |
parent | 0c9959a3081328f1a8f4d9a5d27d1559b6ede561 (diff) |
Fix removal of time-locked transactions during reorg
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index c470bbe28f..f45d5a2084 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -376,7 +376,7 @@ public: bool addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry, setEntries &setAncestors, bool fCurrentEstimate = true); void remove(const CTransaction &tx, std::list<CTransaction>& removed, bool fRecursive = false); - void removeCoinbaseSpends(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight); + void removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight); void removeConflicts(const CTransaction &tx, std::list<CTransaction>& removed); void removeForBlock(const std::vector<CTransaction>& vtx, unsigned int nBlockHeight, std::list<CTransaction>& conflicts, bool fCurrentEstimate = true); |