tEliminate dead code - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 993ff30616aeb4013d8fdd0c67ca7e04409a2d68 DIR parent 56497c1ae202f38b0a3ecad9a4aaacd73a721ad7 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Tue, 29 Dec 2015 22:48:45 +0900 Eliminate dead code Diffstat: M plugins/ledger/ledger.py | 3 --- M plugins/trezor/plugin.py | 3 --- 2 files changed, 0 insertions(+), 6 deletions(-) --- DIR diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py t@@ -427,9 +427,6 @@ class LedgerPlugin(BasePlugin): def constructor(self, s): return BTChipWallet(s) - def set_enabled(self, enabled): - self.wallet.storage.put('use_' + self.name, enabled) - def is_enabled(self): if not BTCHIP: return False DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py t@@ -165,9 +165,6 @@ class TrezorCompatiblePlugin(BasePlugin): self.print_error(message) raise Exception(message) - def set_enabled(self, enabled): - self.wallet.storage.put('use_' + self.name, enabled) - def is_enabled(self): if not self.libraries_available: return False