diff options
| author | face <[email protected]> | 2016-04-17 10:58:50 +0300 |
|---|---|---|
| committer | Nikolay Mitev <[email protected]> | 2016-04-19 20:33:04 +0300 |
| commit | d0a6353dec48f365c38de3c76b42f67eda737ed5 (patch) | |
| tree | 6e62fa39e2a71cad2fa81c0c2ae530092af5bb6c /src/rpc/blockchain.cpp | |
| parent | Globals: Explicitly pass const CChainParams& to UpdateTip() (diff) | |
| download | discoin-d0a6353dec48f365c38de3c76b42f67eda737ed5.tar.xz discoin-d0a6353dec48f365c38de3c76b42f67eda737ed5.zip | |
Pass CChainParams to DisconnectTip()
Diffstat (limited to 'src/rpc/blockchain.cpp')
| -rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index b85b2f6b5..2670a85c4 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()) { |