We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb566eb commit da99815Copy full SHA for da99815
electrum/lnpeer.py
@@ -3095,7 +3095,7 @@ def _check_unfulfilled_htlc_set(
3095
3096
if trampoline_payment_key and trampoline_payment_key != payment_key:
3097
# first stage of trampoline payment, the first stage must never get set COMPLETE
3098
- if amount_msat >= any_trampoline_onion.amt_to_forward:
+ if amount_msat >= (any_trampoline_onion.amt_to_forward - jit_opening_fees_msat):
3099
# setting the parent key will mark the htlcs to be moved to the parent set
3100
self.logger.debug(f"trampoline part complete. {len(mpp_set.htlcs)=}, "
3101
f"{amount_msat=}. setting parent key: {trampoline_payment_key}")
0 commit comments