mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
fix _Wait
This commit is contained in:
parent
06515321cf
commit
36dad0137b
@ -58,7 +58,7 @@ class Wait():
|
||||
def finish(self, gen, result):
|
||||
self.received += 1
|
||||
|
||||
if self.received >= self.wait_for:
|
||||
if self.received == self.wait_for:
|
||||
__call_at(None, self.callback)
|
||||
self.callback = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user