Only rescan the dongle when it has been disconnected

This commit is contained in:
BTChip 2015-06-25 08:17:45 +02:00
parent 2b307ce24f
commit 3a22fe758f
1 changed files with 3 additions and 3 deletions

View File

@ -430,9 +430,9 @@ class BTChipWallet(BIP32_HD_Wallet):
if not confirmed:
raise Exception('Aborted by user')
pin = pin.encode()
self.client.bad = True
self.device_checked = False
self.get_client(True)
self.client.bad = True
self.device_checked = False
self.get_client(True)
waitDialog.start("Signing ...")
else:
# Sign input with the provided PIN