electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit bc76d63f61961d1a875ba32b07da7fbe8fc7a4d1
parent 73b11a700a7930899ce22ee248871b1d0ac2e5ef
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue,  1 May 2018 15:59:36 +0200

keepkey: remove trezor bridge related stuff

Diffstat:
Mplugins/keepkey/keepkey.py | 13-------------
1 file changed, 0 insertions(+), 13 deletions(-)

diff --git a/plugins/keepkey/keepkey.py b/plugins/keepkey/keepkey.py @@ -102,9 +102,6 @@ class KeepKeyPlugin(HW_PluginBase): from keepkeylib.transport_hid import HidTransport return HidTransport(pair) - def bridge_transport(self, d): - raise NotImplementedError('') - def _try_hid(self, device): self.print_error("Trying to connect over USB...") if device.interface_number == 1: @@ -120,17 +117,7 @@ class KeepKeyPlugin(HW_PluginBase): self.print_error("cannot connect at", device.path, str(e)) return None - def _try_bridge(self, device): - self.print_error("Trying to connect over Trezor Bridge...") - try: - return self.bridge_transport({'path': hexlify(device.path)}) - except BaseException as e: - self.print_error("cannot connect to bridge", str(e)) - return None - def create_client(self, device, handler): - # disable bridge because it seems to never returns if KeepKey is plugged - #transport = self._try_bridge(device) or self._try_hid(device) transport = self._try_hid(device) if not transport: self.print_error("cannot connect to device")