diff options
| author | Daniel Kraft <[email protected]> | 2014-07-19 17:14:23 +0200 |
|---|---|---|
| committer | Daniel Kraft <[email protected]> | 2014-08-26 11:29:18 +0200 |
| commit | d0867acb0e07ac63f03dcc555387f24322e8799e (patch) | |
| tree | 0e8013882018d752e12b86de7f854cfb30143d19 /src/txmempool.h | |
| parent | Make appropriate getter-routines "const" in CCoinsView. (diff) | |
| download | discoin-d0867acb0e07ac63f03dcc555387f24322e8799e.tar.xz discoin-d0867acb0e07ac63f03dcc555387f24322e8799e.zip | |
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 074c35507..d95c4d970 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); |