From 61fe99036ea4b4b32a10e92b811b26a44d27eef5 Mon Sep 17 00:00:00 2001 From: r0tc <87579231+r0tc@users.noreply.github.com> Date: Mon, 10 Jun 2024 11:32:58 +0200 Subject: [PATCH] fix(python): remove duplicated 0x prefix for publish sign-tx --- python/src/trezorlib/cli/ethereum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/trezorlib/cli/ethereum.py b/python/src/trezorlib/cli/ethereum.py index e5aac6072..6bbfc0d35 100644 --- a/python/src/trezorlib/cli/ethereum.py +++ b/python/src/trezorlib/cli/ethereum.py @@ -517,7 +517,7 @@ def sign_tx( if publish: tx_hash = _get_web3().eth.send_raw_transaction(tx_bytes).hex() - return f"Transaction published with ID: 0x{tx_hash}" + return f"Transaction published with ID: {tx_hash}" else: return f"Signed raw transaction:\n0x{tx_bytes.hex()}"