1
0
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:
slush0 2016-09-28 22:57:45 +02:00
parent 8a160becb9
commit e8850e4aa5

View File

@ -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