Skip to content

Commit 32d55e2

Browse files
committed
test: Use the correct node for doubled keypath test
1 parent 65714c1 commit 32d55e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/wallet_backwards_compatibility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_v22_inactivehdchain_path(self):
8787
# 0.21.x and 22.x would both produce bad derivation paths when topping up an inactive hd chain
8888
# Make sure that this is being automatically cleaned up by migration
8989
node_master = self.nodes[1]
90-
node_v22 = self.nodes[self.num_nodes - 5]
90+
node_v22 = self.nodes[self.num_nodes - 3]
9191
wallet_name = "bad_deriv_path"
9292
node_v22.createwallet(wallet_name=wallet_name, descriptors=False)
9393
bad_deriv_wallet = node_v22.get_wallet_rpc(wallet_name)

0 commit comments

Comments
 (0)