diff options
| author | MarcoFalke <[email protected]> | 2019-02-23 11:04:20 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-02-25 10:12:29 -0500 |
| commit | fa5dc3534be1d58bbca641a32cd87cd97ce8882a (patch) | |
| tree | 04d695f854abddbc515f7e70301d659b16b7d9e0 /src/txmempool.cpp | |
| parent | Merge #15408: Remove unused TransactionError constants (diff) | |
| download | discoin-fa5dc3534be1d58bbca641a32cd87cd97ce8882a.tar.xz discoin-fa5dc3534be1d58bbca641a32cd87cd97ce8882a.zip | |
rpc: Pass mempool into MempoolToJSON
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 68f47d5cc..ca556bdc7 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -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(); |