From 15f6a6a369c53bdbc48753acf37c0a138de49ca0 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 20 Aug 2014 21:18:16 +0200 Subject: [PATCH] fix xpub in trezor plugin (fingerprint and child number should be big endian) --- plugins/trezor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/trezor.py b/plugins/trezor.py index 459abab4..08977987 100644 --- a/plugins/trezor.py +++ b/plugins/trezor.py @@ -172,7 +172,7 @@ class TrezorWallet(NewWallet): return self.mpk def i4b(self, x): - return pack('I', x) + return pack('>I', x) def add_keypairs(self, tx, keypairs, password): #do nothing - no priv keys available