rpc: Pass mempool into MempoolToJSON

This commit is contained in:
MarcoFalke
2019-02-23 11:04:20 -05:00
parent 169dced9a4
commit fa5dc3534b
7 changed files with 34 additions and 37 deletions

View File

@@ -764,7 +764,7 @@ std::vector<CTxMemPool::indexed_transaction_set::const_iterator> CTxMemPool::Get
return iters;
}
void CTxMemPool::queryHashes(std::vector<uint256>& vtxid)
void CTxMemPool::queryHashes(std::vector<uint256>& vtxid) const
{
LOCK(cs);
auto iters = GetSortedDepthAndScore();