Skip to content

Commit 3c546e7

Browse files
f - fix fail_htlc_backwards_internal docs
1 parent 0ceb5be commit 3c546e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3878,8 +3878,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
38783878
}
38793879

38803880
/// Fails an HTLC backwards to the sender of it to us.
3881-
/// Note that while this function pushes events as well as FailHTLC's to fail htlcs for
3882-
/// designated channels, no assumptions are made that the channels are still available.
3881+
/// Note that we do not assume that channels corresponding to failed HTLCs are still available.
38833882
fn fail_htlc_backwards_internal(&self, source: HTLCSource, payment_hash: &PaymentHash, onion_error: HTLCFailReason,destination: HTLCDestination) {
38843883
#[cfg(debug_assertions)]
38853884
{

0 commit comments

Comments
 (0)