Skip to content

Commit 2f40d0f

Browse files
committed
trezor: Use standard derivation paths
1 parent f862135 commit 2f40d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hwilib/devices/trezor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def sign_tx(self, tx):
186186
scriptcode = psbt_in.redeem_script
187187

188188
def ignore_input():
189-
txinputtype.address_n = [0x80000000]
189+
txinputtype.address_n = [0x80000000 | 84, 0x80000000 | (1 if self.is_testnet else 0)]
190190
txinputtype.multisig = None
191191
txinputtype.script_type = proto.InputScriptType.SPENDWITNESS
192192
inputs.append(txinputtype)

0 commit comments

Comments
 (0)