1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

python: Add cancel_authorization() to trezorlib.

This commit is contained in:
Andrew Kozlik 2020-08-03 18:21:59 +02:00 committed by Andrew Kozlik
parent 292d909235
commit 62d66a713c

View File

@ -193,3 +193,8 @@ def reset(
def backup(client):
ret = client.call(messages.BackupDevice())
return ret
@expect(messages.Success, field="message")
def cancel_authorization(client):
return client.call(messages.CancelAuthorization())