diff --git a/electrum/plugins/safe_t/transport.py b/electrum/plugins/safe_t/transport.py index 3753434dc..e34916ad8 100644 --- a/electrum/plugins/safe_t/transport.py +++ b/electrum/plugins/safe_t/transport.py @@ -8,6 +8,8 @@ class SafeTTransport(PrintError): """Reimplemented safetlib.transport.all_transports so that we can enable/disable specific transports. """ + # NOTE: the bridge and UDP transports are disabled as they are using + # the same ports as trezor try: # only to detect safetlib version from safetlib.transport import all_transports diff --git a/electrum/plugins/trezor/transport.py b/electrum/plugins/trezor/transport.py index 5ce686c69..78c1dd205 100644 --- a/electrum/plugins/trezor/transport.py +++ b/electrum/plugins/trezor/transport.py @@ -14,11 +14,11 @@ class TrezorTransport(PrintError): except ImportError: # old trezorlib. compat for trezorlib < 0.9.2 transports = [] - #try: - # from trezorlib.transport_bridge import BridgeTransport - # transports.append(BridgeTransport) - #except BaseException: - # pass + try: + from trezorlib.transport_bridge import BridgeTransport + transports.append(BridgeTransport) + except BaseException: + pass try: from trezorlib.transport_hid import HidTransport transports.append(HidTransport) @@ -37,11 +37,11 @@ class TrezorTransport(PrintError): else: # new trezorlib. transports = [] - #try: - # from trezorlib.transport.bridge import BridgeTransport - # transports.append(BridgeTransport) - #except BaseException: - # pass + try: + from trezorlib.transport.bridge import BridgeTransport + transports.append(BridgeTransport) + except BaseException: + pass try: from trezorlib.transport.hid import HidTransport transports.append(HidTransport)