Pass CChainParams to DisconnectTip()

This commit is contained in:
face
2016-04-17 10:58:50 +03:00
committed by lateminer
parent c934f568b7
commit 7e7f211dea
3 changed files with 7 additions and 7 deletions

View File

@@ -1017,7 +1017,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()) {