mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
remove enumerate in HWIBridge init (#2371)
* remove enumerate in HWIBridge init * fix test
This commit is contained in:
parent
622e111ba0
commit
2808be1ae3
1 changed files with 1 additions and 5 deletions
|
|
@ -81,11 +81,7 @@ class HWIBridge(JSONRPC):
|
|||
"extract_master_blinding_key": self.extract_master_blinding_key,
|
||||
"bitbox02_pairing": self.bitbox02_pairing,
|
||||
}
|
||||
# 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()
|
||||
self.devices = []
|
||||
|
||||
@locked(hwilock)
|
||||
def enumerate(self, passphrase="", chain=""):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue