mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
remove unused variable
This commit is contained in:
parent
ffbd0ccecd
commit
fb65493963
3 changed files with 0 additions and 8 deletions
|
@ -1,5 +1,3 @@
|
||||||
import threading
|
|
||||||
|
|
||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
|
|
||||||
from electrum.util import bfh, bh2u
|
from electrum.util import bfh, bh2u
|
||||||
|
@ -72,8 +70,6 @@ class KeepKeyCompatiblePlugin(HW_PluginBase):
|
||||||
|
|
||||||
def __init__(self, parent, config, name):
|
def __init__(self, parent, config, name):
|
||||||
HW_PluginBase.__init__(self, parent, config, name)
|
HW_PluginBase.__init__(self, parent, config, name)
|
||||||
self.main_thread = threading.current_thread()
|
|
||||||
# FIXME: move to base class when Ledger is fixed
|
|
||||||
if self.libraries_available:
|
if self.libraries_available:
|
||||||
self.device_manager().register_devices(self.DEVICE_IDS)
|
self.device_manager().register_devices(self.DEVICE_IDS)
|
||||||
|
|
||||||
|
|
|
@ -573,7 +573,6 @@ class LedgerPlugin(HW_PluginBase):
|
||||||
|
|
||||||
def get_client(self, keystore, force_pair=True):
|
def get_client(self, keystore, force_pair=True):
|
||||||
# All client interaction should not be in the main GUI thread
|
# All client interaction should not be in the main GUI thread
|
||||||
#assert self.main_thread != threading.current_thread()
|
|
||||||
devmgr = self.device_manager()
|
devmgr = self.device_manager()
|
||||||
handler = keystore.handler
|
handler = keystore.handler
|
||||||
with devmgr.hid_lock:
|
with devmgr.hid_lock:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import threading
|
|
||||||
|
|
||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
|
|
||||||
from electrum.util import bfh, bh2u, versiontuple
|
from electrum.util import bfh, bh2u, versiontuple
|
||||||
|
@ -93,7 +91,6 @@ class TrezorPlugin(HW_PluginBase):
|
||||||
|
|
||||||
def __init__(self, parent, config, name):
|
def __init__(self, parent, config, name):
|
||||||
HW_PluginBase.__init__(self, parent, config, name)
|
HW_PluginBase.__init__(self, parent, config, name)
|
||||||
self.main_thread = threading.current_thread()
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Minimal test if python-trezor is installed
|
# Minimal test if python-trezor is installed
|
||||||
|
|
Loading…
Add table
Reference in a new issue