1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

client: wrap clear_session in a session

because it's a different kind of session...
This commit is contained in:
matejcik 2018-11-26 16:06:56 +01:00
parent c7c5653231
commit 4982fd1cf5

View File

@ -195,6 +195,7 @@ class TrezorClient:
return self.features.device_id
@tools.expect(messages.Success, field="message")
@tools.session
def clear_session(self):
return self.call_raw(messages.ClearSession())