mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-20 20:31:06 +00:00
Merge pull request #503 from vacuumlabs/cardano-taint
cardano: taint pages to prevent blank screen
This commit is contained in:
commit
e53826e951
@ -66,6 +66,7 @@ def create_renderer(confirmation_wrapper):
|
|||||||
if page >= page_count:
|
if page >= page_count:
|
||||||
page = page_count - 1
|
page = page_count - 1
|
||||||
|
|
||||||
|
pages[page].taint()
|
||||||
content = Scrollpage(pages[page], page, page_count)
|
content = Scrollpage(pages[page], page, page_count)
|
||||||
if page + 1 >= page_count:
|
if page + 1 >= page_count:
|
||||||
return await confirmation_wrapper(content)
|
return await confirmation_wrapper(content)
|
||||||
|
Loading…
Reference in New Issue
Block a user