mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Change default chain to liquidv1
This commit is contained in:
parent
9454d33057
commit
fd52db918d
2 changed files with 2 additions and 8 deletions
|
|
@ -558,10 +558,7 @@ BOOST_AUTO_TEST_CASE(util_GetChainName)
|
|||
std::string error;
|
||||
|
||||
test_args.ParseParameters(0, (char**)argv_testnet, error);
|
||||
std::string default_chain = "elementsregtest";
|
||||
#if LIQUID
|
||||
default_chain = "liquidv1";
|
||||
#endif
|
||||
std::string default_chain = "liquidv1";
|
||||
BOOST_CHECK_EQUAL(test_args.GetChainName(), default_chain);
|
||||
|
||||
test_args.ParseParameters(2, (char**)argv_testnet, error);
|
||||
|
|
|
|||
|
|
@ -1015,10 +1015,7 @@ std::string ArgsManager::GetChainName() const
|
|||
if (fTestNet)
|
||||
return CBaseChainParams::TESTNET;
|
||||
|
||||
std::string default_chain = "elementsregtest";
|
||||
#ifdef LIQUID
|
||||
default_chain = "liquidv1";
|
||||
#endif
|
||||
std::string default_chain = "liquidv1";
|
||||
return GetArg("-chain", default_chain);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue