Skip to content

Commit

Permalink
fix(python/trezorctl): fix colliding option shortcut in ethereum sign-tx
Browse files Browse the repository at this point in the history
fixes #2535
  • Loading branch information
matejcik committed Mar 17, 2023
1 parent a486132 commit 2dd6a10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/.changelog.d/2535.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`trezorctl ethereum sign-tx`: renamed `--gas-limit` shortcut to `-G` to avoid collision with `-t/--token`
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/ethereum.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,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,
Expand Down

0 comments on commit 2dd6a10

Please sign in to comment.