mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-22 05:10:56 +00:00
trezorctl: Fix sign_tx default BIP-32 path
This commit is contained in:
parent
496bfc74fd
commit
d446e56375
@ -475,6 +475,8 @@ def sign_tx(connect, coin):
|
||||
break
|
||||
prev_hash, prev_index = prev
|
||||
address_n = click.prompt('BIP-32 path to derive the key', type=client.expand_path, default="%s/0'/0/0" % coin)
|
||||
# click does not use type for default
|
||||
address_n = client.expand_path(address_n)
|
||||
amount = click.prompt('Input amount (satoshis)', type=int, default=0)
|
||||
inputs.append(proto.TxInputType(
|
||||
address_n=address_n,
|
||||
|
Loading…
Reference in New Issue
Block a user