File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1271,7 +1271,7 @@ async def open_channel_just_in_time(
1271
1271
# if an exception is raised during negotiation, we raise an OnionRoutingFailure.
1272
1272
# this will cancel the incoming HTLC
1273
1273
1274
- # prevent settling the htlc until the channel opening was successfull so we can fail it if needed
1274
+ # prevent settling the htlc until the channel opening was successful so we can fail it if needed
1275
1275
self .dont_settle_htlcs [payment_hash .hex ()] = None
1276
1276
try :
1277
1277
funding_sat = 2 * (next_amount_msat_htlc // 1000 ) # try to fully spend htlcs
@@ -1938,7 +1938,7 @@ def suggest_payment_splits(
1938
1938
(chan .channel_id , chan .node_id ): ( int (chan .available_to_spend (HTLCOwner .LOCAL )), chan .htlc_slots_left (HTLCOwner .LOCAL ))
1939
1939
for chan in my_active_channels
1940
1940
}
1941
- # if we have a direct channel it's preferrable to send a single part directly through this
1941
+ # if we have a direct channel it's preferable to send a single part directly through this
1942
1942
# channel, so this bool will disable excluding single part payments
1943
1943
have_direct_channel = any (chan .node_id == receiver_pubkey for chan in my_active_channels )
1944
1944
self .logger .info (f"channels_with_funds: { channels_with_funds } , { have_direct_channel = } " )
Original file line number Diff line number Diff line change @@ -1027,7 +1027,7 @@ def get_registered_descriptor(self, descriptor_name):
1027
1027
dict
1028
1028
Description of registered descriptor wallet identified by registration name.
1029
1029
Contains keys:
1030
- descriptor_name - str, name of descritpor registration
1030
+ descriptor_name - str, name of descriptor registration
1031
1031
descriptor - str, descriptor output script, may contain substitution placeholders
1032
1032
datavalues - dict containing placeholders for substitution into script
1033
1033
"""
Original file line number Diff line number Diff line change @@ -1951,7 +1951,7 @@ def clear_fields_when_finalized():
1951
1951
self .sighash = None
1952
1952
self .bip32_paths = {}
1953
1953
self .redeem_script = None
1954
- # FIXME: side effect interfers with make_witness
1954
+ # FIXME: side effect interferes with make_witness
1955
1955
# self.witness_script = None
1956
1956
1957
1957
if self .script_sig is not None and self .witness is not None :
You can’t perform that action at this time.
0 commit comments