diff options
author | Roman Zeyde <me@romanzey.de> | 2018-03-22 13:55:22 +0200 |
---|---|---|
committer | Roman Zeyde <me@romanzey.de> | 2018-03-25 11:32:41 +0300 |
commit | 1fdc7c41bb1eea3a25c3387f147ff8839a78d4ad (patch) | |
tree | c48df00da7ff4d96ae71e26eb023861eb237e0e2 /src/txmempool.cpp | |
parent | 7466a26cab5d66665991433947964a638f5b957e (diff) |
Make CTxMemPool::isSpent() const
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index d1edde284f..cc639288d3 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -339,7 +339,7 @@ CTxMemPool::CTxMemPool(CBlockPolicyEstimator* estimator) : nCheckFrequency = 0; } -bool CTxMemPool::isSpent(const COutPoint& outpoint) +bool CTxMemPool::isSpent(const COutPoint& outpoint) const { LOCK(cs); return mapNextTx.count(outpoint); |