mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
configure option --enable-liquid for default liquidv1 chain
This commit is contained in:
parent
a32cd1d363
commit
7eea59a2ca
3 changed files with 23 additions and 2 deletions
|
|
@ -980,7 +980,12 @@ std::string ArgsManager::GetChainName() const
|
|||
return CBaseChainParams::REGTEST;
|
||||
if (fTestNet)
|
||||
return CBaseChainParams::TESTNET;
|
||||
return GetArg("-chain", "elementsregtest");
|
||||
|
||||
std::string default_chain = "elementsregtest";
|
||||
#ifdef LIQUID
|
||||
default_chain = "liquidv1";
|
||||
#endif
|
||||
return GetArg("-chain", default_chain);
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue