Skip to content

Commit 2b015f3

Browse files
committed
f - remove expects channel ready
1 parent 97c8ca4 commit 2b015f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6550,8 +6550,7 @@ impl<SP: Deref> Channel<SP> where
65506550
debug_assert!(self.context.holder_commitment_point.is_available());
65516551
msgs::ChannelReady {
65526552
channel_id: self.context.channel_id(),
6553-
next_per_commitment_point: self.context.holder_commitment_point.current_point()
6554-
.expect("TODO"),
6553+
next_per_commitment_point: self.context.holder_commitment_point.current_point(),
65556554
short_channel_id_alias: Some(self.context.outbound_scid_alias),
65566555
}
65576556
}

0 commit comments

Comments
 (0)