diff --git a/python/src/trezorlib/client.py b/python/src/trezorlib/client.py index b8a3df0fe9..49b399d97d 100644 --- a/python/src/trezorlib/client.py +++ b/python/src/trezorlib/client.py @@ -291,6 +291,7 @@ class TrezorClient: def clear_session(self): resp = self.call_raw(messages.ClearSession()) if isinstance(resp, messages.Success): + self.state = None self.init_device() return resp.message else: