Skip to content

Commit 149f46f

Browse files
committed
Remove outdated Channel TODO
1 parent 753f958 commit 149f46f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lightning/src/ln/channel.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,11 +2029,6 @@ fn commit_tx_fee_msat(feerate_per_kw: u32, num_htlcs: usize, channel_type_featur
20292029
(commitment_tx_base_weight(channel_type_features) + num_htlcs as u64 * COMMITMENT_TX_WEIGHT_PER_HTLC) * feerate_per_kw as u64 / 1000 * 1000
20302030
}
20312031

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

0 commit comments

Comments
 (0)