aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorface <face@hmel.org>2016-04-17 10:58:50 +0300
committerNikolay Mitev <face@hmel.org>2016-04-19 20:33:04 +0300
commitd0a6353dec48f365c38de3c76b42f67eda737ed5 (patch)
tree6e62fa39e2a71cad2fa81c0c2ae530092af5bb6c /src/main.h
parent764d2377727c8945d648a018492a61add4fcf042 (diff)
downloadbitcoin-d0a6353dec48f365c38de3c76b42f67eda737ed5.tar.xz
Pass CChainParams to DisconnectTip()
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 0962f44e94..e4c98a9696 100644
--- a/src/main.h
+++ b/src/main.h
@@ -536,7 +536,7 @@ public:
CBlockIndex* FindForkInGlobalIndex(const CChain& chain, const CBlockLocator& locator);
/** Mark a block as invalid. */
-bool InvalidateBlock(CValidationState& state, const Consensus::Params& consensusParams, CBlockIndex *pindex);
+bool InvalidateBlock(CValidationState& state, const CChainParams& chainparams, CBlockIndex *pindex);
/** Remove invalidity status from a block and its descendants. */
bool ReconsiderBlock(CValidationState& state, CBlockIndex *pindex);