diff --git a/electrum/constants.py b/electrum/constants.py index 6ed16e678..28dde0432 100644 --- a/electrum/constants.py +++ b/electrum/constants.py @@ -158,8 +158,6 @@ class BitcoinTestnet(AbstractNet): class BitcoinTestnet4(BitcoinTestnet): NET_NAME = "testnet4" - SEGWIT_HRP = "tb" - BOLT11_HRP = SEGWIT_HRP GENESIS = "00000000da84f2bafbbc53dee25a72ae507ff4914b867c565be350b0da8bf043" DEFAULT_SERVERS = read_json('servers_testnet4.json', {}) CHECKPOINTS = read_json('checkpoints_testnet4.json', []) diff --git a/electrum/servers_testnet4.json b/electrum/servers_testnet4.json index 37145d442..3069a1607 100644 --- a/electrum/servers_testnet4.json +++ b/electrum/servers_testnet4.json @@ -1,10 +1,4 @@ { - "127.0.0.1": { - "pruning": "-", - "s": "51002", - "t": "51001", - "version": "1.4" - }, "testnet4-electrumx.wakiyamap.dev": { "pruning": "-", "s": "51002", diff --git a/electrum/simple_config.py b/electrum/simple_config.py index 32190b1f4..23b3c7b1a 100644 --- a/electrum/simple_config.py +++ b/electrum/simple_config.py @@ -254,7 +254,7 @@ class SimpleConfig(Logger): if self.get('testnet'): path = os.path.join(path, 'testnet') make_dir(path, allow_symlink=False) - if self.get('testnet4'): + elif self.get('testnet4'): path = os.path.join(path, 'testnet4') make_dir(path, allow_symlink=False) elif self.get('regtest'):