Skip to content

Commit 93d840d

Browse files
committed
f fee docs
1 parent 8fc8534 commit 93d840d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3552,8 +3552,8 @@ impl<Signer: Sign> Channel<Signer> {
35523552
}
35533553

35543554
/// Queues up an outbound update fee by placing it in the holding cell. You should call
3555-
/// `maybe_free_holding_cell_htlcs` in order to actually generate and send the commitment
3556-
/// update.
3555+
/// [`Self::maybe_free_holding_cell_htlcs`] in order to actually generate and send the
3556+
/// commitment update.
35573557
pub fn queue_update_fee<L: Deref>(&mut self, feerate_per_kw: u32, logger: &L) where L::Target: Logger {
35583558
let msg_opt = self.send_update_fee(feerate_per_kw, true, logger);
35593559
assert!(msg_opt.is_none(), "We forced holding cell?");
@@ -3564,8 +3564,8 @@ impl<Signer: Sign> Channel<Signer> {
35643564
/// If our balance is too low to cover the cost of the next commitment transaction at the
35653565
/// new feerate, the update is cancelled.
35663566
///
3567-
/// You MUST call `send_commitment_no_state_update` prior to any other calls on this Channel if
3568-
/// `force_holding_cell` is false.
3567+
/// You MUST call [`Self::send_commitment_no_state_update`] prior to any other calls on this
3568+
/// [`Channel`] if `force_holding_cell` is false.
35693569
fn send_update_fee<L: Deref>(&mut self, feerate_per_kw: u32, mut force_holding_cell: bool, logger: &L) -> Option<msgs::UpdateFee> where L::Target: Logger {
35703570
if !self.is_outbound() {
35713571
panic!("Cannot send fee from inbound channel");

0 commit comments

Comments
 (0)