From 7bb3e5336aa712e239261a53c1db9ecd128b4d6d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 6 Feb 2019 15:50:57 +0100 Subject: [PATCH] trezor: PIN could not be disabled fixes #5078 --- electrum/plugins/trezor/clientbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/plugins/trezor/clientbase.py b/electrum/plugins/trezor/clientbase.py index ed0d7b14c..e31abaa1e 100644 --- a/electrum/plugins/trezor/clientbase.py +++ b/electrum/plugins/trezor/clientbase.py @@ -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)