mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
Revert "revert removal of enumerate (#2378)"
This reverts commit 23ad11975b.
This commit is contained in:
parent
2c8e5533a0
commit
a2be0ab716
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