We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2808be1 commit 23ad119Copy full SHA for 23ad119
src/cryptoadvance/specter/hwi_rpc.py
@@ -81,7 +81,11 @@ def __init__(self):
81
"extract_master_blinding_key": self.extract_master_blinding_key,
82
"bitbox02_pairing": self.bitbox02_pairing,
83
}
84
- self.devices = []
+ # Running enumerate after beginning an interaction with a specific device
85
+ # crashes python or make HWI misbehave. For now we just get all connected
86
+ # devices once per session and save them.
87
+ logger.info("Initializing HWI...") # to explain user why it takes so long
88
+ self.enumerate()
89
90
@locked(hwilock)
91
def enumerate(self, passphrase="", chain=""):
0 commit comments