diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py index 177a3b18c..dbe907996 100644 --- a/electrum/lnchannel.py +++ b/electrum/lnchannel.py @@ -1563,7 +1563,7 @@ class Channel(AbstractChannel): # nobody pays additional HTLC transaction fees return min(max_send_msat, htlc_trim_threshold_msat - 1) else: - # somebody has to pay for the additonal HTLC transaction fees + # somebody has to pay for the additional HTLC transaction fees if sender == initiator: return max_send_msat - htlc_fee_msat else: diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py index 316299023..03cb1fedd 100644 --- a/electrum/submarine_swaps.py +++ b/electrum/submarine_swaps.py @@ -219,7 +219,7 @@ class SwapManager(Logger): for k, swap in self.swaps.items(): if swap.prepay_hash is not None: self.prepayments[swap.prepay_hash] = bytes.fromhex(k) - self.is_server = False # overriden by swapserver plugin if enabled + self.is_server = False # overridden by swapserver plugin if enabled self.is_initialized = asyncio.Event() self.pairs_updated = asyncio.Event() diff --git a/tests/test_lnutil.py b/tests/test_lnutil.py index d6dfd6093..7d9e49725 100644 --- a/tests/test_lnutil.py +++ b/tests/test_lnutil.py @@ -851,7 +851,7 @@ class TestLNUtil(ElectrumTestCase): cltv_abs=test_htlc['expiry'], htlc_id=None, timestamp=0) - # only add htlcs whose spending transaction creates above-dust ouputs + # only add htlcs whose spending transaction creates above-dust outputs # TODO: should we include this check in make_commitment? if test_htlc['amount'] // 1000 >= (threshold_sat_received if test_htlc['incoming'] else threshold_sat_offered): test_htlcs[test_index] = ScriptHtlc(htlc_script, update_add_htlc)