diff --git a/contrib/android/buildozer_qml.spec b/contrib/android/buildozer_qml.spec index 9c89e9c9a..4a5be479c 100644 --- a/contrib/android/buildozer_qml.spec +++ b/contrib/android/buildozer_qml.spec @@ -176,7 +176,7 @@ android.manifest.intent_filters = contrib/android/bitcoin_intent.xml # (str) launchMode to set for the main activity android.manifest.launch_mode = singleTask -# (list) Android additionnal libraries to copy into libs/armeabi +# (list) Android additional libraries to copy into libs/armeabi #android.add_libs_armeabi = lib/android/*.so # (bool) Indicate whether the screen should stay on diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index c44344b84..6f9e2c0ad 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -992,7 +992,7 @@ class Peer(Logger): # The receiving node MAY fail the channel if: # option_channel_type was negotiated but the message doesn't include a channel_type if self.is_channel_type() and channel_type is None: - raise Exception("sender has advertized option_channel_type, but hasn't sent the channel type") + raise Exception("sender has advertised option_channel_type, but hasn't sent the channel type") # MUST fail the channel if it supports channel_type, # channel_type was set, and the type is not suitable. elif self.is_channel_type() and channel_type is not None: @@ -2325,7 +2325,7 @@ class Peer(Logger): raise Exception(f"received shutdown in unexpected {chan.peer_state=!r}") their_scriptpubkey = payload['scriptpubkey'] their_upfront_scriptpubkey = chan.config[REMOTE].upfront_shutdown_script - # BOLT-02 check if they use the upfront shutdown script they advertized + # BOLT-02 check if they use the upfront shutdown script they advertised if self.is_upfront_shutdown_script() and their_upfront_scriptpubkey: if not (their_scriptpubkey == their_upfront_scriptpubkey): await self.send_warning( diff --git a/electrum/plugins/coldcard/coldcard.py b/electrum/plugins/coldcard/coldcard.py index 8fd16cfde..00793ae70 100644 --- a/electrum/plugins/coldcard/coldcard.py +++ b/electrum/plugins/coldcard/coldcard.py @@ -282,7 +282,7 @@ class Coldcard_KeyStore(Hardware_KeyStore): self.is_requesting_to_be_rewritten_to_wallet_file = True def get_client(self, *args, **kwargs): - # called when user tries to do something like view address, sign somthing. + # called when user tries to do something like view address, sign something. # - not called during probing/setup # - will fail if indicated device can't produce the xpub (at derivation) expected client = super().get_client(*args, **kwargs) # type: Optional[CKCCClient] diff --git a/electrum/plugins/revealer/qt.py b/electrum/plugins/revealer/qt.py index f63e6641e..0e85fc436 100644 --- a/electrum/plugins/revealer/qt.py +++ b/electrum/plugins/revealer/qt.py @@ -556,7 +556,7 @@ class Plugin(RevealerPlugin): painter.drawText(600,2077, _("Instructions:")) font = QFont('Source Sans Pro', 7, QFont.Normal) painter.setFont(font) - painter.drawText(700, 2177, _("1. Place this paper on a flat and well iluminated surface.")) + painter.drawText(700, 2177, _("1. Place this paper on a flat and well illuminated surface.")) painter.drawText(700, 2277, _("2. Align your Revealer borderlines to the dashed lines on the top and left.")) painter.drawText(700, 2377, _("3. Press slightly the Revealer against the paper and read the numbers that best " "match on the opposite sides. ")) diff --git a/electrum/scripts/ln_features.py b/electrum/scripts/ln_features.py index ba3c8c2c8..c817aecc1 100644 --- a/electrum/scripts/ln_features.py +++ b/electrum/scripts/ln_features.py @@ -126,7 +126,7 @@ async def node_flag_stats(opt_flag: LnFeatures, presync: False): with wallet.lnworker.channel_db.lock: nodes = wallet.lnworker.channel_db._nodes.copy() - # check how many nodes advertize opt/req flag in the gossip + # check how many nodes advertise opt/req flag in the gossip n_opt = 0 n_req = 0 print(f"analyzing {len(nodes.keys())} nodes")