mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-05 06:12:34 +00:00
wire: fix Context.call
This commit is contained in:
parent
520de105a6
commit
bc9beaf5d8
@ -30,7 +30,7 @@ class Context:
|
|||||||
self.iface = iface
|
self.iface = iface
|
||||||
self.sid = sid
|
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
|
Reply with `msg` and wait for one of `types`. See `self.write()` and
|
||||||
`self.read()`.
|
`self.read()`.
|
||||||
|
Loading…
Reference in New Issue
Block a user