1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00

fix(python): remove duplicated 0x prefix for publish sign-tx

This commit is contained in:
r0tc 2024-06-10 11:32:58 +02:00 committed by matejcik
parent 0fbfda7762
commit 61fe99036e

View File

@ -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()}"