diff options
author | Matt Corallo <git@bluematt.me> | 2016-09-30 18:38:05 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-10-04 13:51:32 -0400 |
commit | f5efa283931ce1d52c59234b58988a221d42ecb4 (patch) | |
tree | ce892a16f3048f3a378c8a71092bf4f9be557356 /src/rpc/blockchain.cpp | |
parent | fef1010199b70026fd6d56ebac5c277552757307 (diff) | |
download | bitcoin-f5efa283931ce1d52c59234b58988a221d42ecb4.tar.xz |
Remove CConnman parameter from ProcessNewBlock/ActivateBestChain
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r-- | src/rpc/blockchain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 41d862934a..d85f6fed63 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1279,7 +1279,7 @@ UniValue invalidateblock(const UniValue& params, bool fHelp) } if (state.IsValid()) { - ActivateBestChain(state, Params(), NULL, g_connman.get()); + ActivateBestChain(state, Params(), NULL); } if (!state.IsValid()) { @@ -1317,7 +1317,7 @@ UniValue reconsiderblock(const UniValue& params, bool fHelp) } CValidationState state; - ActivateBestChain(state, Params(), NULL, g_connman.get()); + ActivateBestChain(state, Params(), NULL); if (!state.IsValid()) { throw JSONRPCError(RPC_DATABASE_ERROR, state.GetRejectReason()); |