From e80ce35a1d1d623295735a0075110e36304fa44f Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 20 Mar 2017 06:34:37 +0100 Subject: [PATCH] fix #2315 --- plugins/trezor/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py index 7e921cd98..637f1538a 100644 --- a/plugins/trezor/plugin.py +++ b/plugins/trezor/plugin.py @@ -275,7 +275,7 @@ class TrezorCompatiblePlugin(HW_PluginBase): if is_xpubkey(x_pubkey): xpub, s = parse_xpubkey(x_pubkey) else: - xpub = xpub_from_pubkey(x_pubkey.decode('hex')) + xpub = xpub_from_pubkey(0, x_pubkey.decode('hex')) s = [] node = self.ckd_public.deserialize(xpub) return self.types.HDNodePathType(node=node, address_n=s)