Skip to content

Commit b4aec54

Browse files
committed
fixup! Allow single-part payments to trampoline nodes
1 parent e45ff6f commit b4aec54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

04-onion-routing.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,10 @@ When processing a `trampoline_onion_packet`, a receiving node:
541541
- If it is the final node:
542542
- MUST reject the payment if:
543543
- The outer onion's `outgoing_cltv_value` is smaller than the trampoline onion's `outgoing_cltv_value`.
544-
- The outer onion's `total_msat` is smaller than the trampoline onion's `amt_to_forward`.
544+
- If this is a multi-part payment:
545+
- The outer onion's `total_msat` is smaller than the trampoline onion's `amt_to_forward`.
546+
- Otherwise:
547+
- The outer onion's `amt_to_forward` is smaller than the trampoline onion's `amt_to_forward`.
545548

546549
## Route Blinding
547550

0 commit comments

Comments
 (0)