diff options
| author | Matt Corallo <[email protected]> | 2016-09-30 18:38:05 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-10-04 13:51:32 -0400 |
| commit | f5efa283931ce1d52c59234b58988a221d42ecb4 (patch) | |
| tree | ce892a16f3048f3a378c8a71092bf4f9be557356 /src/rpc/blockchain.cpp | |
| parent | Use CValidationInterface from chain logic to notify peer logic (diff) | |
| download | discoin-f5efa283931ce1d52c59234b58988a221d42ecb4.tar.xz discoin-f5efa283931ce1d52c59234b58988a221d42ecb4.zip | |
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 41d862934..d85f6fed6 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()); |