aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.cpp
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/rpc/blockchain.cpp
parent764d2377727c8945d648a018492a61add4fcf042 (diff)
Pass CChainParams to DisconnectTip()
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index b85b2f6b57..2670a85c4f 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -928,7 +928,7 @@ UniValue invalidateblock(const UniValue& params, bool fHelp)
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Block not found");
CBlockIndex* pblockindex = mapBlockIndex[hash];
- InvalidateBlock(state, Params().GetConsensus(), pblockindex);
+ InvalidateBlock(state, Params(), pblockindex);
}
if (state.IsValid()) {