mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 01:35:20 +00:00
Eliminate dead code
This commit is contained in:
parent
56497c1ae2
commit
993ff30616
2 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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…
Add table
Reference in a new issue