Skip to content

Commit 95dc276

Browse files
committed
Drop update_fee TODOs as we're gonna drop it before 0.1 anyway
See #365 for more.
1 parent 2fd2fef commit 95dc276

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ln/channel.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,6 @@ impl Channel {
909909
{
910910
// Make sure that the to_self/to_remote is always either past the appropriate
911911
// channel_reserve *or* it is making progress towards it.
912-
// TODO: This should happen after fee calculation, but we don't handle that correctly
913-
// yet!
914912
let mut max_commitment_tx_output = if generated_by_local {
915913
self.max_commitment_tx_output_local.lock().unwrap()
916914
} else {
@@ -2452,7 +2450,7 @@ impl Channel {
24522450
update_add_htlcs.len(), update_fulfill_htlcs.len(), update_fail_htlcs.len(), update_fail_malformed_htlcs.len());
24532451
msgs::CommitmentUpdate {
24542452
update_add_htlcs, update_fulfill_htlcs, update_fail_htlcs, update_fail_malformed_htlcs,
2455-
update_fee: None, //TODO: We need to support re-generating any update_fees in the last commitment_signed!
2453+
update_fee: None,
24562454
commitment_signed: self.send_commitment_no_state_update().expect("It looks like we failed to re-generate a commitment_signed we had previously sent?").0,
24572455
}
24582456
}

0 commit comments

Comments
 (0)