mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-22 05:10:56 +00:00
Fixing generator startup in read_message.
This commit is contained in:
parent
8a160becb9
commit
e8850e4aa5
@ -82,6 +82,7 @@ async def read_message(session_id, *exp_types):
|
||||
future = Future()
|
||||
wire_decoder = decode_wire_stream(
|
||||
_dispatch_and_build_protobuf, session_id, exp_types, future)
|
||||
wire_decoder.send(None)
|
||||
register_session(session_id, wire_decoder)
|
||||
return await future
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user