Skip to content

Commit 6c6df2d

Browse files
committed
f further tweak docs
1 parent 017bbd9 commit 6c6df2d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1994,19 +1994,18 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
19941994
}
19951995
}
19961996

1997-
/// Force closes a channel, immediately broadcasting the latest local commitment transaction to
1998-
/// the chain and rejecting new HTLCs on the given channel. Fails if `channel_id` is unknown to
1997+
/// Force closes a channel, immediately broadcasting the latest local transaction(s) and
1998+
/// rejecting new HTLCs on the given channel. Fails if `channel_id` is unknown to
19991999
/// the manager, or if the `counterparty_node_id` isn't the counterparty of the corresponding
20002000
/// channel.
20012001
pub fn force_close_broadcasting_latest_txn(&self, channel_id: &[u8; 32], counterparty_node_id: &PublicKey)
20022002
-> Result<(), APIError> {
20032003
self.force_close_sending_error(channel_id, counterparty_node_id, true)
20042004
}
20052005

2006-
/// Force closes a channel, rejecting new HTLCs on the given channel but skips broadcasting of
2007-
/// the latest local commitment transaction to the chain. Fails if `channel_id` is unknown to
2008-
/// the manager, or if the `counterparty_node_id` isn't the counterparty of the corresponding
2009-
/// channel.
2006+
/// Force closes a channel, rejecting new HTLCs on the given channel but skips broadcasting
2007+
/// the latest local transaction(s). Fails if `channel_id` is unknown to the manager, or if the
2008+
/// `counterparty_node_id` isn't the counterparty of the corresponding channel.
20102009
///
20112010
/// You can always get the latest local transaction(s) to broadcast from
20122011
/// [`ChannelMonitor::get_latest_holder_commitment_txn`].

0 commit comments

Comments
 (0)