mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 20:08:12 +00:00
fix(python/trezorctl): fix colliding option shortcut in ethereum sign-tx
fixes #2535
This commit is contained in:
parent
e2d600389b
commit
92c037d89e
1
python/.changelog.d/2535.fixed
Normal file
1
python/.changelog.d/2535.fixed
Normal file
@ -0,0 +1 @@
|
|||||||
|
`trezorctl ethereum sign-tx`: renamed `--gas-limit` shortcut to `-G` to avoid collision with `-t/--token`
|
@ -309,7 +309,7 @@ def get_public_node(client: "TrezorClient", address: str, show_display: bool) ->
|
|||||||
"-g", "--gas-limit", type=int, help="Gas limit (required for offline signing)"
|
"-g", "--gas-limit", type=int, help="Gas limit (required for offline signing)"
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-t",
|
"-G",
|
||||||
"--gas-price",
|
"--gas-price",
|
||||||
help="Gas price (required for offline signing)",
|
help="Gas price (required for offline signing)",
|
||||||
callback=_amount_to_int,
|
callback=_amount_to_int,
|
||||||
|
Loading…
Reference in New Issue
Block a user