diff --git a/tests/test.py b/tests/test.py index 86fe03cc2b..37753fe016 100755 --- a/tests/test.py +++ b/tests/test.py @@ -22,6 +22,7 @@ FirmwareErase FirmwareUpload protection levels +neuspesna zmena pinu - zrejme v sucinnosti s inymi testami x ButtonRequest/ButtonAck workflow diff --git a/tests/test_msg_getaddress.py b/tests/test_msg_getaddress.py index 9b9c361daa..b13a4b4223 100644 --- a/tests/test_msg_getaddress.py +++ b/tests/test_msg_getaddress.py @@ -27,8 +27,8 @@ class TestMsgGetaddress(common.TrezorTest): def test_public_ckd(self): self.setup_mnemonic_nopin_nopassphrase() - node = self.client.get_public_node('Bitcoin', []) - node_sub1 = self.client.get_public_node('Bitcoin', [1]) + node = self.client.get_public_node([]) + node_sub1 = self.client.get_public_node([1]) node_sub2 = bip32.public_ckd(node, [1]) self.assertEqual(node_sub1.chain_code, node_sub2.chain_code) diff --git a/trezorlib/ckd_public.py b/trezorlib/ckd_public.py index cfd829139e..d85f97f487 100644 --- a/trezorlib/ckd_public.py +++ b/trezorlib/ckd_public.py @@ -72,7 +72,6 @@ def get_subnode(node, i): I_left_as_exponent = string_to_number(I64[:32]) node_out = proto_types.HDNodeType() - node_out.version = node.version node_out.depth = node.depth + 1 node_out.child_num = i node_out.chain_code = I64[32:]