mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-01 12:22:34 +00:00
core/monero: fix usage of ctx.wait in pagination
This commit is contained in:
parent
f707913f32
commit
29e883ab59
@ -26,7 +26,7 @@ async def naive_pagination(
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
await ctx.call(ButtonRequest(code=ButtonRequestType.SignTx), ButtonAck)
|
await ctx.call(ButtonRequest(code=ButtonRequestType.SignTx), ButtonAck)
|
||||||
result = await paginated
|
result = await ctx.wait(paginated)
|
||||||
if result is CONFIRMED:
|
if result is CONFIRMED:
|
||||||
return True
|
return True
|
||||||
if result is CANCELLED:
|
if result is CANCELLED:
|
||||||
|
Loading…
Reference in New Issue
Block a user