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