mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-18 10:32:02 +00:00
trezorctl: Remove broken default in address_n click.prompt
This commit is contained in:
parent
36c479c2c2
commit
f20fd0d8cf
@ -474,9 +474,7 @@ def sign_tx(connect, coin):
|
|||||||
if not prev:
|
if not prev:
|
||||||
break
|
break
|
||||||
prev_hash, prev_index = prev
|
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)
|
address_n = click.prompt('BIP-32 path to derive the key', type=client.expand_path)
|
||||||
# click does not use type for default
|
|
||||||
address_n = client.expand_path(address_n)
|
|
||||||
amount = click.prompt('Input amount (satoshis)', type=int, default=0)
|
amount = click.prompt('Input amount (satoshis)', type=int, default=0)
|
||||||
inputs.append(proto.TxInputType(
|
inputs.append(proto.TxInputType(
|
||||||
address_n=address_n,
|
address_n=address_n,
|
||||||
|
Loading…
Reference in New Issue
Block a user