follow-up previous commit
This commit is contained in:
@@ -842,11 +842,11 @@ class SimpleConfig(Logger):
|
|||||||
|
|
||||||
def get_swapserver_url(self):
|
def get_swapserver_url(self):
|
||||||
if constants.net == constants.BitcoinMainnet:
|
if constants.net == constants.BitcoinMainnet:
|
||||||
return wallet.config.SWAPSERVER_URL_MAINNET
|
return self.SWAPSERVER_URL_MAINNET
|
||||||
elif constants.net == constants.BitcoinTestnet:
|
elif constants.net == constants.BitcoinTestnet:
|
||||||
return wallet.config.SWAPSERVER_URL_TESTNET
|
return self.SWAPSERVER_URL_TESTNET
|
||||||
else:
|
else:
|
||||||
return wallet.config.SWAPSERVER_URL_REGTEST
|
return self.SWAPSERVER_URL_REGTEST
|
||||||
|
|
||||||
# config variables ----->
|
# config variables ----->
|
||||||
NETWORK_AUTO_CONNECT = ConfigVar('auto_connect', default=True, type_=bool)
|
NETWORK_AUTO_CONNECT = ConfigVar('auto_connect', default=True, type_=bool)
|
||||||
|
|||||||
Reference in New Issue
Block a user