Skip to content

Commit

Permalink
Merge branch 'master' into mm/jade-export-wallet-via-qr
Browse files Browse the repository at this point in the history
  • Loading branch information
moneymanolis authored Sep 15, 2023
2 parents 3a16c00 + 23ad119 commit 6c76185
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cryptoadvance/specter/hwi_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ def __init__(self):
"extract_master_blinding_key": self.extract_master_blinding_key,
"bitbox02_pairing": self.bitbox02_pairing,
}
self.devices = []
# Running enumerate after beginning an interaction with a specific device
# crashes python or make HWI misbehave. For now we just get all connected
# devices once per session and save them.
logger.info("Initializing HWI...") # to explain user why it takes so long
self.enumerate()

@locked(hwilock)
def enumerate(self, passphrase="", chain=""):
Expand Down

0 comments on commit 6c76185

Please sign in to comment.