Pass CChainParams to DisconnectTip()

This commit is contained in:
face
2016-04-17 10:58:50 +03:00
committed by Nikolay Mitev
parent 764d237772
commit d0a6353dec
3 changed files with 7 additions and 8 deletions

View File

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