Make CTxMemPool::isSpent() const
This commit is contained in:
+1
-1
@@ -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