1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-22 13:21:03 +00:00

core/monero: fix usage of ctx.wait in pagination

This commit is contained in:
matejcik 2020-01-23 15:45:58 +01:00
parent f707913f32
commit 29e883ab59

View File

@ -26,7 +26,7 @@ async def naive_pagination(
while True:
await ctx.call(ButtonRequest(code=ButtonRequestType.SignTx), ButtonAck)
result = await paginated
result = await ctx.wait(paginated)
if result is CONFIRMED:
return True
if result is CANCELLED: