Only rescan the dongle when it has been disconnected
This commit is contained in:
@@ -430,9 +430,9 @@ class BTChipWallet(BIP32_HD_Wallet):
|
|||||||
if not confirmed:
|
if not confirmed:
|
||||||
raise Exception('Aborted by user')
|
raise Exception('Aborted by user')
|
||||||
pin = pin.encode()
|
pin = pin.encode()
|
||||||
self.client.bad = True
|
self.client.bad = True
|
||||||
self.device_checked = False
|
self.device_checked = False
|
||||||
self.get_client(True)
|
self.get_client(True)
|
||||||
waitDialog.start("Signing ...")
|
waitDialog.start("Signing ...")
|
||||||
else:
|
else:
|
||||||
# Sign input with the provided PIN
|
# Sign input with the provided PIN
|
||||||
|
|||||||
Reference in New Issue
Block a user