1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +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): def backup(client):
ret = client.call(messages.BackupDevice()) ret = client.call(messages.BackupDevice())
return ret return ret
@expect(messages.Success, field="message")
def cancel_authorization(client):
return client.call(messages.CancelAuthorization())