Skip to content

Commit 0998017

Browse files
committed
Remove outdated Channel TODO
1 parent 073f078 commit 0998017

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
@@ -2033,11 +2033,6 @@ fn commit_tx_fee_msat(feerate_per_kw: u32, num_htlcs: usize, channel_type_featur
20332033
(commitment_tx_base_weight(channel_type_features) + num_htlcs as u64 * COMMITMENT_TX_WEIGHT_PER_HTLC) * feerate_per_kw as u64 / 1000 * 1000
20342034
}
20352035

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

0 commit comments

Comments
 (0)