diff --git a/electrum/lnworker.py b/electrum/lnworker.py index fb03f6742..ccc737138 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -1271,7 +1271,7 @@ class LNWallet(LNWorker): # if an exception is raised during negotiation, we raise an OnionRoutingFailure. # this will cancel the incoming HTLC - # prevent settling the htlc until the channel opening was successfull so we can fail it if needed + # prevent settling the htlc until the channel opening was successful so we can fail it if needed self.dont_settle_htlcs[payment_hash.hex()] = None try: funding_sat = 2 * (next_amount_msat_htlc // 1000) # try to fully spend htlcs @@ -1938,7 +1938,7 @@ class LNWallet(LNWorker): (chan.channel_id, chan.node_id): ( int(chan.available_to_spend(HTLCOwner.LOCAL)), chan.htlc_slots_left(HTLCOwner.LOCAL)) for chan in my_active_channels } - # if we have a direct channel it's preferrable to send a single part directly through this + # if we have a direct channel it's preferable to send a single part directly through this # channel, so this bool will disable excluding single part payments have_direct_channel = any(chan.node_id == receiver_pubkey for chan in my_active_channels) self.logger.info(f"channels_with_funds: {channels_with_funds}, {have_direct_channel=}") diff --git a/electrum/plugins/jade/jadepy/jade.py b/electrum/plugins/jade/jadepy/jade.py index cfb982666..22d3fdd17 100644 --- a/electrum/plugins/jade/jadepy/jade.py +++ b/electrum/plugins/jade/jadepy/jade.py @@ -1027,7 +1027,7 @@ class JadeAPI: dict Description of registered descriptor wallet identified by registration name. Contains keys: - descriptor_name - str, name of descritpor registration + descriptor_name - str, name of descriptor registration descriptor - str, descriptor output script, may contain substitution placeholders datavalues - dict containing placeholders for substitution into script """ diff --git a/electrum/transaction.py b/electrum/transaction.py index e4893b9a4..8bbae09bf 100644 --- a/electrum/transaction.py +++ b/electrum/transaction.py @@ -1951,7 +1951,7 @@ class PartialTxInput(TxInput, PSBTSection): self.sighash = None self.bip32_paths = {} self.redeem_script = None - # FIXME: side effect interfers with make_witness + # FIXME: side effect interferes with make_witness # self.witness_script = None if self.script_sig is not None and self.witness is not None: