fix(python/trezorctl): fix operator precedence issue for ethereum sign-tx command

pull/1870/head
Eduard Klementiev 3 years ago committed by matejcik
parent a924bd4dc6
commit 10ce81b5d1

@ -0,0 +1 @@
fix operator precedence issue for ethereum sign-tx command

@ -268,8 +268,7 @@ def sign_tx(
(not is_eip1559 and gas_price is None)
or any(x is None for x in (gas_limit, nonce))
or publish
and not w3.isConnected()
):
) and not w3.isConnected():
click.echo("Failed to connect to Ethereum node.")
click.echo(
"If you want to sign offline, make sure you provide --gas-price, "

Loading…
Cancel
Save