Skip to content

Commit 1e3df7f

Browse files
committed
Remove outdated Channel TODO
1 parent b5e9594 commit 1e3df7f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lightning/src/ln/channel.rs

-5
Original file line numberDiff line numberDiff line change
@@ -2036,11 +2036,6 @@ fn commit_tx_fee_msat(feerate_per_kw: u32, num_htlcs: usize, channel_type_featur
20362036
(commitment_tx_base_weight(channel_type_features) + num_htlcs as u64 * COMMITMENT_TX_WEIGHT_PER_HTLC) * feerate_per_kw as u64 / 1000 * 1000
20372037
}
20382038

2039-
// TODO: We should refactor this to be an Inbound/OutboundChannel until initial setup handshaking
2040-
// has been completed, and then turn into a Channel to get compiler-time enforcement of things like
2041-
// calling channel_id() before we're set up or things like get_funding_signed on an
2042-
// inbound channel.
2043-
//
20442039
// Holder designates channel data owned for the benefit of the user client.
20452040
// Counterparty designates channel data owned by the another channel participant entity.
20462041
pub(super) struct Channel<SP: Deref> where SP::Target: SignerProvider {

0 commit comments

Comments
 (0)