Skip to content

Commit

Permalink
trezor: Use standard derivation paths
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed Jun 6, 2020
1 parent f862135 commit 2f40d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwilib/devices/trezor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2f40d0f

Please sign in to comment.