diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-05-05 12:52:28 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-05-05 12:52:34 +0200 |
| commit | e8d917591f28ba332480251a57870284a8bf3427 (patch) | |
| tree | 3a63343aedd5e7bd8bcbd3936bd8101ff0e07b44 /src/txmempool.cpp | |
| parent | Merge #7968: doc: Fedora build requirements (diff) | |
| parent | [trivial] Add missing const qualifiers. (diff) | |
| download | discoin-e8d917591f28ba332480251a57870284a8bf3427.tar.xz discoin-e8d917591f28ba332480251a57870284a8bf3427.zip | |
Merge #7977: [trivial] Add missing const qualifiers.
f7c4f79 [trivial] Add missing const qualifiers. (Daniel Kraft)
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 52c779311..420f6896b 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -885,7 +885,7 @@ bool CTxMemPool::HasNoInputsOf(const CTransaction &tx) const return true; } -CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView *baseIn, CTxMemPool &mempoolIn) : CCoinsViewBacked(baseIn), mempool(mempoolIn) { } +CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView* baseIn, const CTxMemPool& mempoolIn) : CCoinsViewBacked(baseIn), mempool(mempoolIn) { } bool CCoinsViewMemPool::GetCoins(const uint256 &txid, CCoins &coins) const { // If an entry in the mempool exists, always return that one, as it's guaranteed to never |