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

wire: fix Context.call

This commit is contained in:
Jan Pochyla 2017-08-15 16:01:33 +02:00
parent 520de105a6
commit bc9beaf5d8

View File

@ -30,7 +30,7 @@ class Context:
self.iface = iface
self.sid = sid
async def call(self, msg, types):
async def call(self, msg, *types):
'''
Reply with `msg` and wait for one of `types`. See `self.write()` and
`self.read()`.