Skip to content

Commit 5dc494c

Browse files
f note that fees are not enforced in intercept forward
1 parent c7d4361 commit 5dc494c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3167,6 +3167,8 @@ impl<M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelManager<M, T, K, F
31673167
/// channel id(s) to put in the receiver's invoice route hints. These route hints will signal to
31683168
/// LDK to generate an [`HTLCIntercepted`] event when it receives the forwarded HTLC.
31693169
///
3170+
/// Note that LDK does not enforce fee requirements in `amt_to_forward_msat`.
3171+
///
31703172
/// [`HTLCIntercepted`]: events::Event::HTLCIntercepted
31713173
// TODO: when we move to deciding the best outbound channel at forward time, only take
31723174
// `next_node_id` and not `next_hop_scid`

0 commit comments

Comments
 (0)