Skip to content

Commit cec14ee

Browse files
committed
test: switch wallet_crosschain.py to signet
Testnet3 is deprecated. Instead of moving to testnet4, which might also be deprecated in the future, use signet.
1 parent 9c29515 commit cec14ee

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/functional/wallet_crosschain.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ def skip_test_if_missing_module(self):
2020
def setup_network(self):
2121
self.add_nodes(self.num_nodes)
2222

23-
# Switch node 1 to testnet before starting it.
24-
self.nodes[1].chain = 'testnet3'
25-
self.nodes[1].extra_args = ['-maxconnections=0', '-prune=550'] # disable testnet sync
26-
self.nodes[1].replace_in_config([('regtest=', 'testnet='), ('[regtest]', '[test]')])
23+
# Switch node 1 to any network different from regtest before starting it.
24+
self.nodes[1].chain = 'signet'
25+
# Disable network sync and prevent disk space warning on low resource CI
26+
self.nodes[1].extra_args = ['-maxconnections=0', '-prune=550']
27+
self.nodes[1].replace_in_config([('regtest=', 'signet='), ('[regtest]', '[signet]')])
2728
self.start_nodes()
2829

2930
def run_test(self):

0 commit comments

Comments
 (0)