File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ CTxMemPool::CTxMemPool(CBlockPolicyEstimator* estimator) :
339
339
nCheckFrequency = 0 ;
340
340
}
341
341
342
- bool CTxMemPool::isSpent (const COutPoint& outpoint)
342
+ bool CTxMemPool::isSpent (const COutPoint& outpoint) const
343
343
{
344
344
LOCK (cs);
345
345
return mapNextTx.count (outpoint);
Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ class CTxMemPool
550
550
void _clear (); // lock free
551
551
bool CompareDepthAndScore (const uint256& hasha, const uint256& hashb);
552
552
void queryHashes (std::vector<uint256>& vtxid);
553
- bool isSpent (const COutPoint& outpoint);
553
+ bool isSpent (const COutPoint& outpoint) const ;
554
554
unsigned int GetTransactionsUpdated () const ;
555
555
void AddTransactionsUpdated (unsigned int n);
556
556
/* *
You can’t perform that action at this time.
0 commit comments