diff options
| author | Jorge Timón <[email protected]> | 2016-07-17 05:49:46 +0200 |
|---|---|---|
| committer | Jorge Timón <[email protected]> | 2016-07-27 23:58:04 +0200 |
| commit | c8664eeac75fb87282dc69049cfa23d583742629 (patch) | |
| tree | 4490d850f9e29b67ef32c565b033ecae0e98cdb9 /src/main.h | |
| parent | Merge #8347: Trivial: Make CBlockIndex param const in ContextualCheckBlockHea... (diff) | |
| download | discoin-c8664eeac75fb87282dc69049cfa23d583742629.tar.xz discoin-c8664eeac75fb87282dc69049cfa23d583742629.zip | |
Trivial: pass Consensus::Params& instead of CChainParams& in ContextualCheckBlock
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index feaaaad75..262e94b9f 100644 --- a/src/main.h +++ b/src/main.h @@ -448,7 +448,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P * By "context", we mean only the previous block headers, but not the UTXO * set; UTXO-related validity checks are done in ConnectBlock(). */ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& state, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev, int64_t nAdjustedTime); -bool ContextualCheckBlock(const CBlock& block, CValidationState& state, const CBlockIndex* pindexPrev); +bool ContextualCheckBlock(const CBlock& block, CValidationState& state, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev); /** Apply the effects of this block (with given index) on the UTXO set represented by coins. * Validity checks that depend on the UTXO set are also done; ConnectBlock() |