Change default chain to liquidv1

This commit is contained in:
Gregory Sanders 2019-07-10 13:41:36 -04:00
parent 9454d33057
commit fd52db918d
2 changed files with 2 additions and 8 deletions

View file

@ -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);

View file

@ -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);
}