1
0

hw: allow bypassing "too old firmware" error when using hw wallets

The framework here is generic enough that it can be used for any hw plugin,
however atm only Trezor is implemented.

closes #5391
This commit is contained in:
SomberNight
2019-05-31 04:09:03 +02:00
parent 7cba46c317
commit 371e1a6ebf
7 changed files with 71 additions and 17 deletions

View File

@@ -403,7 +403,7 @@ class DeviceMgr(ThreadJob):
def unpair_xpub(self, xpub):
with self.lock:
if not xpub in self.xpub_ids:
if xpub not in self.xpub_ids:
return
_id = self.xpub_ids.pop(xpub)
self._close_client(_id)