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:
parent
0fbfda7762
commit
61fe99036e
@ -517,7 +517,7 @@ def sign_tx(
|
|||||||
|
|
||||||
if publish:
|
if publish:
|
||||||
tx_hash = _get_web3().eth.send_raw_transaction(tx_bytes).hex()
|
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:
|
else:
|
||||||
return f"Signed raw transaction:\n0x{tx_bytes.hex()}"
|
return f"Signed raw transaction:\n0x{tx_bytes.hex()}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user