mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Preparations: Pass mapArgs to CChainParams::Factory
This commit is contained in:
parent
7fa61dd4d0
commit
e2aef80ab8
13 changed files with 52 additions and 28 deletions
|
|
@ -298,7 +298,8 @@ void OnRPCPreCommand(const CRPCCommand& cmd)
|
|||
|
||||
std::string HelpMessage(HelpMessageMode mode)
|
||||
{
|
||||
const boost::scoped_ptr<CChainParams> defaultChainParams(CChainParams::Factory(CBaseChainParams::MAIN));
|
||||
std::map<std::string, std::string> mapArgs;
|
||||
const boost::scoped_ptr<CChainParams> defaultChainParams(CChainParams::Factory(CBaseChainParams::MAIN, mapArgs));
|
||||
const boost::scoped_ptr<CBaseChainParams> defaultBaseParams(CBaseChainParams::Factory(CBaseChainParams::MAIN));
|
||||
const bool showDebug = GetBoolArg("-help-debug", false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue