Browse Source

hw plugins: (cleanup) Plugin objects should not have a Client field

Clients are per-connected-device, plugins are ~singletons.
These were mostly remnants of old code.
patch-4
SomberNight 3 years ago
parent
commit
aab8e664ed
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 1
      electrum/plugins/digitalbitbox/digitalbitbox.py
  2. 1
      electrum/plugins/ledger/ledger.py

1
electrum/plugins/digitalbitbox/digitalbitbox.py

@ -661,7 +661,6 @@ class DigitalBitboxPlugin(HW_PluginBase):
libraries_available = DIGIBOX
keystore_class = DigitalBitbox_KeyStore
client = None
DEVICE_IDS = [
(0x03eb, 0x2402) # Digital Bitbox
]

1
electrum/plugins/ledger/ledger.py

@ -581,7 +581,6 @@ class Ledger_KeyStore(Hardware_KeyStore):
class LedgerPlugin(HW_PluginBase):
keystore_class = Ledger_KeyStore
minimum_library = (0, 1, 32)
client = None
DEVICE_IDS = [
(0x2581, 0x1807), # HW.1 legacy btchip
(0x2581, 0x2b7c), # HW.1 transitional production

Loading…
Cancel
Save