1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 03:18:09 +00:00

Merge pull request #503 from vacuumlabs/cardano-taint

cardano: taint pages to prevent blank screen
This commit is contained in:
Tomas Susanka 2019-03-29 16:21:35 +01:00 committed by GitHub
commit e53826e951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,7 @@ def create_renderer(confirmation_wrapper):
if page >= page_count:
page = page_count - 1
pages[page].taint()
content = Scrollpage(pages[page], page, page_count)
if page + 1 >= page_count:
return await confirmation_wrapper(content)