From 9a7345a0ddf797b9350708aa9dce149ef835f50e Mon Sep 17 00:00:00 2001 From: goodmost Date: Sun, 28 Apr 2024 18:12:17 +0800 Subject: [PATCH] jade.py: fix some typos Signed-off-by: goodmost --- electrum/plugins/jade/jadepy/jade.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/electrum/plugins/jade/jadepy/jade.py b/electrum/plugins/jade/jadepy/jade.py index 9f4d08251..c49ea019a 100644 --- a/electrum/plugins/jade/jadepy/jade.py +++ b/electrum/plugins/jade/jadepy/jade.py @@ -76,7 +76,7 @@ def _hexlify(data): # The default implementation used in JadeAPI._jadeRpc() below. # 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 # ---------- @@ -635,7 +635,7 @@ class JadeAPI: The number of words the entropy is required to produce. index : int - The index to use in the bip32 path to calcuate the entropy. + The index to use in the bip32 path to calculate the entropy. pubkey: 33-bytes The host ephemeral pubkey to use to generate a shared ecdh secret to use as an AES key @@ -694,12 +694,12 @@ class JadeAPI: def reset_pinserver(self, reset_details, reset_certificate): """ - RPC call to reset any formerly overidden pinserver details to their defauts. + RPC call to reset any formerly overridden pinserver details to their defaults. Parameters ---------- reset_details : bool, optional - If set, any overidden urls and pubkey are reset to their defaults. + If set, any overridden urls and pubkey are reset to their defaults. reset_certificate : bool, optional If set, any additional certificate is reset (to None). @@ -1768,7 +1768,7 @@ class JadeInterface: Returns ------- 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 - caller must call 'connect()' before trying to use the Jade. """ @@ -1810,7 +1810,7 @@ class JadeInterface: Returns ------- 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 - caller must call 'connect()' before trying to use the Jade. @@ -2064,7 +2064,7 @@ class JadeInterface: def make_rpc_call(self, request, long_timeout=False): """ 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. Any read-timeout is respected unless 'long_timeout' is passed, in which case the call blocks indefinitely awaiting a response.