mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Make CTxMemPool::isSpent() const
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user