diff options
| author | Cory Fields <[email protected]> | 2016-05-26 14:26:01 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2016-09-08 12:04:35 -0400 |
| commit | 8d58c4d81f18e9a51d11ee354434cf55d03a4add (patch) | |
| tree | 3fd6d59b0e7f8cd037c123c0ebea1ad59a385dcf /src/rpc/blockchain.cpp | |
| parent | net: Add rpc error for missing/disabled p2p functionality (diff) | |
| download | discoin-8d58c4d81f18e9a51d11ee354434cf55d03a4add.tar.xz discoin-8d58c4d81f18e9a51d11ee354434cf55d03a4add.zip | |
net: Pass CConnman around as needed
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 b90410017..d600383c4 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1133,7 +1133,7 @@ UniValue invalidateblock(const UniValue& params, bool fHelp) } if (state.IsValid()) { - ActivateBestChain(state, Params()); + ActivateBestChain(state, Params(), NULL, g_connman.get()); } if (!state.IsValid()) { @@ -1171,7 +1171,7 @@ UniValue reconsiderblock(const UniValue& params, bool fHelp) } CValidationState state; - ActivateBestChain(state, Params()); + ActivateBestChain(state, Params(), NULL, g_connman.get()); if (!state.IsValid()) { throw JSONRPCError(RPC_DATABASE_ERROR, state.GetRejectReason()); |