mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
[Tests] Move assert_start_raises_init_error method to TestNode
This commit is contained in:
@ -23,7 +23,7 @@ class WalletHDTest(BitcoinTestFramework):
|
||||
|
||||
# Make sure can't switch off usehd after wallet creation
|
||||
self.stop_node(1)
|
||||
self.assert_start_raises_init_error(1, ['-usehd=0'], 'already existing HD wallet')
|
||||
self.nodes[1].assert_start_raises_init_error(['-usehd=0'], 'already existing HD wallet')
|
||||
self.start_node(1)
|
||||
connect_nodes_bi(self.nodes, 0, 1)
|
||||
|
||||
|
Reference in New Issue
Block a user