Skip to content

Commit 493fa1c

Browse files
committed
f fix docs on remove_uncommitted_htlcs_and_mark_paused
1 parent 1ddb6b6 commit 493fa1c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2695,10 +2695,9 @@ impl<Signer: Sign> Channel<Signer> {
26952695
}
26962696
}
26972697

2698-
/// Removes any uncommitted HTLCs, to be used on peer disconnection, including any pending
2699-
/// HTLCs that we intended to add but haven't as we were waiting on a remote revoke.
2700-
/// Returns the set of PendingHTLCStatuses from remote uncommitted HTLCs (which we're
2701-
/// implicitly dropping) and the payment_hashes of HTLCs we tried to add but are dropping.
2698+
/// Removes any uncommitted inbound HTLCs and resets the state of uncommitted outbound HTLC
2699+
/// updates, to be used on peer disconnection. After this, update_*_htlc messages need to be
2700+
/// resent.
27022701
/// No further message handling calls may be made until a channel_reestablish dance has
27032702
/// completed.
27042703
pub fn remove_uncommitted_htlcs_and_mark_paused<L: Deref>(&mut self, logger: &L) where L::Target: Logger {

0 commit comments

Comments
 (0)