diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2015-11-23 16:06:12 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2015-11-30 14:35:17 -0500 |
commit | 2d8860e820e2ca73000f558eb9686206bec2652a (patch) | |
tree | b30da37c98806571d0edfce8fe5731b1fe7131dc /src/txmempool.h | |
parent | b7fa4aa3876b56694b27af0beef367be9e0733fd (diff) |
Fix removeForReorg to use MedianTimePast
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 4c35f4ca08..c4ea51557c 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -379,7 +379,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 removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight); + void removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags); 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); |