mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge #675: Change default chain to liquidv1
6482455 Change default chain to liquidv1 (Gregory Sanders)
This commit is contained in:
commit
3dd46d1730
2 changed files with 2 additions and 8 deletions
|
|
@ -553,10 +553,7 @@ BOOST_AUTO_TEST_CASE(util_GetChainName)
|
|||
std::string error;
|
||||
|
||||
BOOST_CHECK(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);
|
||||
|
||||
BOOST_CHECK(test_args.ParseParameters(2, (char**)argv_testnet, error));
|
||||
|
|
|
|||
|
|
@ -1001,10 +1001,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