electrum

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

commit a669c6b765410d41ce774cc346872325ffd5e6d7
parent 42da407ee16784eb6e2d1f1c644f77d97d7c3007
Author: matejcik <ja@matejcik.cz>
Date:   Tue, 25 Aug 2020 16:34:42 +0200

trezor: use `init_device` instead of `ping` to check connection (fixes #6457) (#6471)


Diffstat:
Melectrum/plugins/trezor/clientbase.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/electrum/plugins/trezor/clientbase.py b/electrum/plugins/trezor/clientbase.py @@ -112,8 +112,7 @@ class TrezorClientBase(HardwareClientBase, Logger): return True try: - res = self.client.ping("electrum pinging device") - assert res == "electrum pinging device" + self.client.init_device() except BaseException: return False return True