mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-18 18:42:06 +00:00
fix get_public_node call in test_msg_getaddress
This commit is contained in:
parent
f2cb352ac3
commit
4ca5b9e5e2
@ -27,8 +27,8 @@ class TestMsgGetaddress(common.TrezorTest):
|
|||||||
def test_public_ckd(self):
|
def test_public_ckd(self):
|
||||||
self.setup_mnemonic_nopin_nopassphrase()
|
self.setup_mnemonic_nopin_nopassphrase()
|
||||||
|
|
||||||
node = self.client.get_public_node([])
|
node = self.client.get_public_node('Bitcoin', [])
|
||||||
node_sub1 = self.client.get_public_node([1])
|
node_sub1 = self.client.get_public_node('Bitcoin', [1])
|
||||||
node_sub2 = bip32.public_ckd(node, [1])
|
node_sub2 = bip32.public_ckd(node, [1])
|
||||||
|
|
||||||
self.assertEqual(node_sub1.chain_code, node_sub2.chain_code)
|
self.assertEqual(node_sub1.chain_code, node_sub2.chain_code)
|
||||||
|
Loading…
Reference in New Issue
Block a user