diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-11-27 13:26:57 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-11-27 13:29:54 +0100 |
| commit | 5ca149a3db4a9f4e5ea93353494b40f2f1713e76 (patch) | |
| tree | 16bcbe5588de1b0e98635e2e8d8e824a63f45935 /src/rpcblockchain.cpp | |
| parent | Merge pull request #6871 (diff) | |
| parent | Globals: Remove a bunch of Params() calls from main.cpp: (diff) | |
| download | discoin-5ca149a3db4a9f4e5ea93353494b40f2f1713e76.tar.xz discoin-5ca149a3db4a9f4e5ea93353494b40f2f1713e76.zip | |
Merge pull request #7053
2e29e7e Globals: Remove a bunch of Params() calls from main.cpp: (Jorge Timón)
Diffstat (limited to 'src/rpcblockchain.cpp')
| -rw-r--r-- | src/rpcblockchain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index c80838e1f..c87282275 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -567,7 +567,7 @@ UniValue verifychain(const UniValue& params, bool fHelp) if (params.size() > 1) nCheckDepth = params[1].get_int(); - return CVerifyDB().VerifyDB(pcoinsTip, nCheckLevel, nCheckDepth); + return CVerifyDB().VerifyDB(Params(), pcoinsTip, nCheckLevel, nCheckDepth); } /** Implementation of IsSuperMajority with better feedback */ @@ -835,7 +835,7 @@ UniValue invalidateblock(const UniValue& params, bool fHelp) } if (state.IsValid()) { - ActivateBestChain(state); + ActivateBestChain(state, Params()); } if (!state.IsValid()) { @@ -874,7 +874,7 @@ UniValue reconsiderblock(const UniValue& params, bool fHelp) } if (state.IsValid()) { - ActivateBestChain(state); + ActivateBestChain(state, Params()); } if (!state.IsValid()) { |