|
|
@ -572,7 +572,7 @@ BOOST_AUTO_TEST_CASE(util_GetChainName)
|
|
|
|
BOOST_CHECK_THROW(test_args.GetChainName(), std::runtime_error);
|
|
|
|
BOOST_CHECK_THROW(test_args.GetChainName(), std::runtime_error);
|
|
|
|
|
|
|
|
|
|
|
|
// check setting the network to test (and thus making
|
|
|
|
// check setting the network to test (and thus making
|
|
|
|
// [test] regtest=1 potentially relevent) doesn't break things
|
|
|
|
// [test] regtest=1 potentially relevant) doesn't break things
|
|
|
|
test_args.SelectConfigNetwork("test");
|
|
|
|
test_args.SelectConfigNetwork("test");
|
|
|
|
|
|
|
|
|
|
|
|
test_args.ParseParameters(0, (char**)argv_testnet);
|
|
|
|
test_args.ParseParameters(0, (char**)argv_testnet);
|
|
|
|