From 2f40d0f2f90557204c7d4a4de4e702e6290ca88b Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Thu, 4 Jun 2020 16:01:51 -0400 Subject: [PATCH] trezor: Use standard derivation paths --- hwilib/devices/trezor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwilib/devices/trezor.py b/hwilib/devices/trezor.py index a8fc85eb7..f728fd683 100644 --- a/hwilib/devices/trezor.py +++ b/hwilib/devices/trezor.py @@ -186,7 +186,7 @@ def sign_tx(self, tx): scriptcode = psbt_in.redeem_script def ignore_input(): - txinputtype.address_n = [0x80000000] + txinputtype.address_n = [0x80000000 | 84, 0x80000000 | (1 if self.is_testnet else 0)] txinputtype.multisig = None txinputtype.script_type = proto.InputScriptType.SPENDWITNESS inputs.append(txinputtype)