Browse Source

Eliminate dead code

283
Neil Booth 9 years ago
parent
commit
993ff30616
  1. 3
      plugins/ledger/ledger.py
  2. 3
      plugins/trezor/plugin.py

3
plugins/ledger/ledger.py

@ -427,9 +427,6 @@ class LedgerPlugin(BasePlugin):
def constructor(self, s): def constructor(self, s):
return BTChipWallet(s) return BTChipWallet(s)
def set_enabled(self, enabled):
self.wallet.storage.put('use_' + self.name, enabled)
def is_enabled(self): def is_enabled(self):
if not BTCHIP: if not BTCHIP:
return False return False

3
plugins/trezor/plugin.py

@ -165,9 +165,6 @@ class TrezorCompatiblePlugin(BasePlugin):
self.print_error(message) self.print_error(message)
raise Exception(message) raise Exception(message)
def set_enabled(self, enabled):
self.wallet.storage.put('use_' + self.name, enabled)
def is_enabled(self): def is_enabled(self):
if not self.libraries_available: if not self.libraries_available:
return False return False

Loading…
Cancel
Save