1
0
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:
matejcik 2023-03-17 12:36:54 +01:00 committed by matejcik
parent e2d600389b
commit 92c037d89e
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
`trezorctl ethereum sign-tx`: renamed `--gas-limit` shortcut to `-G` to avoid collision with `-t/--token`

View File

@ -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)"
)
@click.option(
"-t",
"-G",
"--gas-price",
help="Gas price (required for offline signing)",
callback=_amount_to_int,