1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

fix(core/monero): make sure to pass strings to rendering

This commit is contained in:
matejcik 2020-12-14 11:37:41 +01:00 committed by matejcik
parent 6fbf93cab8
commit e4b113b4bb

View File

@ -119,7 +119,7 @@ async def _require_confirm_output(
async def _require_confirm_payment_id(ctx, payment_id: bytes): async def _require_confirm_payment_id(ctx, payment_id: bytes):
if not await common.naive_pagination( if not await common.naive_pagination(
ctx, ctx,
[ui.MONO] + list(chunks(hexlify(payment_id), 16)), [ui.MONO] + list(chunks(hexlify(payment_id).decode(), 16)),
"Payment ID", "Payment ID",
ui.ICON_SEND, ui.ICON_SEND,
ui.GREEN, ui.GREEN,