mirror of
https://github.com/romanz/amodem.git
synced 2026-02-08 02:18:00 +08:00
trezor: add ClearSession command when disconnecting
This commit is contained in:
@@ -48,6 +48,7 @@ class Client(object):
|
||||
|
||||
def __exit__(self, *args):
|
||||
log.info('disconnected from Trezor')
|
||||
self.client.clear_session()
|
||||
self.client.close()
|
||||
|
||||
def get_public_key(self, label):
|
||||
|
||||
Reference in New Issue
Block a user