mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 04:48:12 +00:00
ethereum/signing: typo
already tested, tests implemented in the pythontrezor repo
This commit is contained in:
parent
aa8bb77e32
commit
c06ec002a3
@ -31,7 +31,6 @@ async def ethereum_sign_tx(ctx, msg):
|
|||||||
if token is None:
|
if token is None:
|
||||||
await layout.confirm_tx(ctx, msg.to, msg.value, msg.chain_id, token)
|
await layout.confirm_tx(ctx, msg.to, msg.value, msg.chain_id, token)
|
||||||
else:
|
else:
|
||||||
# todo is this tested?
|
|
||||||
await layout.confirm_tx(ctx, msg.data_initial_chunk[16:36], msg.data_initial_chunk.bytes[36:68], msg.chain_id, token)
|
await layout.confirm_tx(ctx, msg.data_initial_chunk[16:36], msg.data_initial_chunk.bytes[36:68], msg.chain_id, token)
|
||||||
|
|
||||||
if token is None and msg.data_length > 0:
|
if token is None and msg.data_length > 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user