aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_hd.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-02-07 09:36:13 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-03-18 12:29:02 -0400
commit0ec08a672dce3f619e46d0c7455e95a13dc5c4e2 (patch)
treee14adca17c192046a2ca0ae6393254702f241124 /test/functional/wallet_hd.py
parentaf20f9b1d485582b8c8aa8294bac4f2c540246d2 (diff)
downloadbitcoin-0ec08a672dce3f619e46d0c7455e95a13dc5c4e2.tar.xz
[Tests] Move assert_start_raises_init_error method to TestNode
Diffstat (limited to 'test/functional/wallet_hd.py')
-rwxr-xr-xtest/functional/wallet_hd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_hd.py b/test/functional/wallet_hd.py
index 91f77dd5ba..f37b4bf52b 100755
--- a/test/functional/wallet_hd.py
+++ b/test/functional/wallet_hd.py
@@ -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)