trezor: PIN could not be disabled

fixes #5078
This commit is contained in:
SomberNight 2019-02-06 15:50:57 +01:00
parent 4ed8787433
commit 7bb3e5336a
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9

View File

@ -147,7 +147,7 @@ class TrezorClientBase(PrintError):
else:
msg = _("Confirm on your {} device to set a PIN")
with self.run_flow(msg):
trezorlib.device.change_pin(remove)
trezorlib.device.change_pin(self.client, remove)
def clear_session(self):
'''Clear the session to force pin (and passphrase if enabled)