1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00

fix get_public_node call in test_msg_getaddress

This commit is contained in:
Pavol Rusnak 2014-02-21 21:31:13 +01:00
parent f2cb352ac3
commit 4ca5b9e5e2

View File

@ -27,8 +27,8 @@ class TestMsgGetaddress(common.TrezorTest):
def test_public_ckd(self):
self.setup_mnemonic_nopin_nopassphrase()
node = self.client.get_public_node([])
node_sub1 = self.client.get_public_node([1])
node = self.client.get_public_node('Bitcoin', [])
node_sub1 = self.client.get_public_node('Bitcoin', [1])
node_sub2 = bip32.public_ckd(node, [1])
self.assertEqual(node_sub1.chain_code, node_sub2.chain_code)