Browse Source

Merge pull request #8982 from xiaoxianBoy/fix-typos

chore: fix typos
master
ThomasV 2 years ago committed by GitHub
parent
commit
e4eb9ce4be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      electrum/plugins/jade/jadepy/jade.py

8
electrum/plugins/jade/jadepy/jade.py

@ -77,7 +77,7 @@ def _hexlify(data):
# The default implementation used in JadeAPI._jadeRpc() below. # The default implementation used in JadeAPI._jadeRpc() below.
# NOTE: Only available if the 'requests' dependency is available. # NOTE: Only available if the 'requests' dependency is available.
# #
# Callers can supply their own implmentation of this call where it is required. # Callers can supply their own implementation of this call where it is required.
# #
# Parameters # Parameters
# ---------- # ----------
@ -1422,7 +1422,7 @@ class JadeInterface:
Returns Returns
------- -------
JadeInterface JadeInterface
Inerface object configured to use given serial parameters. Interface object configured to use given serial parameters.
NOTE: the instance has not yet tried to contact the hw NOTE: the instance has not yet tried to contact the hw
- caller must call 'connect()' before trying to use the Jade. - caller must call 'connect()' before trying to use the Jade.
""" """
@ -1464,7 +1464,7 @@ class JadeInterface:
Returns Returns
------- -------
JadeInterface JadeInterface
Inerface object configured to use given BLE parameters. Interface object configured to use given BLE parameters.
NOTE: the instance has not yet tried to contact the hw NOTE: the instance has not yet tried to contact the hw
- caller must call 'connect()' before trying to use the Jade. - caller must call 'connect()' before trying to use the Jade.
@ -1718,7 +1718,7 @@ class JadeInterface:
def make_rpc_call(self, request, long_timeout=False): def make_rpc_call(self, request, long_timeout=False):
""" """
Method to send a request over the underlying interface, and await a response. Method to send a request over the underlying interface, and await a response.
The request is minimally validated before it is sent, and the response is simialrly The request is minimally validated before it is sent, and the response is similarly
validated before being returned. validated before being returned.
Any read-timeout is respected unless 'long_timeout' is passed, in which case the call Any read-timeout is respected unless 'long_timeout' is passed, in which case the call
blocks indefinitely awaiting a response. blocks indefinitely awaiting a response.

Loading…
Cancel
Save