aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorface <face@hmel.org>2016-04-19 16:16:39 +0300
committerNikolay Mitev <face@hmel.org>2016-04-20 17:05:15 +0300
commit176869f9b367b6eaf2800de0c30d9b31311e3819 (patch)
treee0df96941960fe120c0361c36df1ff68d40b8b3d /src/main.h
parentd0a6353dec48f365c38de3c76b42f67eda737ed5 (diff)
downloadbitcoin-176869f9b367b6eaf2800de0c30d9b31311e3819.tar.xz
Explicitly pass CChainParams to ConnectBlock
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index e4c98a9696..2c9635bcf2 100644
--- a/src/main.h
+++ b/src/main.h
@@ -458,7 +458,8 @@ bool ContextualCheckBlock(const CBlock& block, CValidationState& state, CBlockIn
/** 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()
* can fail if those validity checks fail (among other reasons). */
-bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& coins, bool fJustCheck = false);
+bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& coins,
+ const CChainParams& chainparams, bool fJustCheck = false);
/** Undo the effects of this block (with given index) on the UTXO set represented by coins.
* In case pfClean is provided, operation will try to be tolerant about errors, and *pfClean