diff options
author | Daniel Kraft <d@domob.eu> | 2014-07-19 17:14:23 +0200 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2014-08-26 11:29:18 +0200 |
commit | d0867acb0e07ac63f03dcc555387f24322e8799e (patch) | |
tree | 0e8013882018d752e12b86de7f854cfb30143d19 /src/txmempool.h | |
parent | a3dc587a62f5d12aea1ff8139198bf0441535c5f (diff) |
Use const CCoinsView's at some places.
At some places where it is possible (e. g., CheckInputs), use a const
version of CCoinsView instead of a non-const one.
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index 074c355077..d95c4d970b 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -85,7 +85,7 @@ public: * all inputs are in the mapNextTx array). If sanity-checking is turned off, * check does nothing. */ - void check(CCoinsViewCache *pcoins) const; + void check(const CCoinsViewCache *pcoins) const; void setSanityCheck(bool _fSanityCheck) { fSanityCheck = _fSanityCheck; } bool addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry); |