Skip to content

Commit f7d1cb8

Browse files
committed
f reference correct function that sends outbound update_fees
1 parent 20a12ae commit f7d1cb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,11 @@ pub(super) struct Channel<Signer: Sign> {
431431
// generating new commitment transactions with exactly the same criteria as inbound/outbound
432432
// HTLCs with similar state.
433433
pending_update_fee: Option<(u32, FeeUpdateState)>,
434-
// If an update_fee() call is made with ChannelState::AwaitingRemoteRevoke set, we place it
435-
// here instead of `pending_update_fee` in the same way as we place outbound HTLC updates in
434+
// If a `send_update_fee()` call is made with ChannelState::AwaitingRemoteRevoke set, we place
435+
// it here instead of `pending_update_fee` in the same way as we place outbound HTLC updates in
436436
// `holding_cell_htlc_updates` instead of `pending_outbound_htlcs`. It is released into
437437
// `pending_update_fee` with the same criteria as outbound HTLC updates but can be updated by
438-
// further `update_fee` calls, dropping the previous holding cell update entirely.
438+
// further `send_update_fee` calls, dropping the previous holding cell update entirely.
439439
holding_cell_update_fee: Option<u32>,
440440
next_holder_htlc_id: u64,
441441
next_counterparty_htlc_id: u64,

0 commit comments

Comments
 (0)