|
|
|
|
@ -1968,14 +1968,6 @@ class LNWallet(LNWorker):
|
|
|
|
|
# for each trampoline forwarder, construct mpp trampoline |
|
|
|
|
for trampoline_node_id, trampoline_parts in per_trampoline_channel_amounts.items(): |
|
|
|
|
per_trampoline_amount = sum([x[1] for x in trampoline_parts]) |
|
|
|
|
if trampoline_node_id == paysession.invoice_pubkey: |
|
|
|
|
trampoline_route = None |
|
|
|
|
trampoline_onion = None |
|
|
|
|
per_trampoline_secret = paysession.payment_secret |
|
|
|
|
per_trampoline_amount_with_fees = amount_msat |
|
|
|
|
per_trampoline_cltv_delta = paysession.min_final_cltv_delta |
|
|
|
|
per_trampoline_fees = 0 |
|
|
|
|
else: |
|
|
|
|
trampoline_route, trampoline_onion, per_trampoline_amount_with_fees, per_trampoline_cltv_delta = create_trampoline_route_and_onion( |
|
|
|
|
amount_msat=per_trampoline_amount, |
|
|
|
|
total_msat=paysession.amount_to_pay, |
|
|
|
|
|