File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1000,9 +1000,10 @@ impl<Signer: ChannelSigner> ChannelContext<Signer> {
10001000 }
10011001
10021002 /// Only allowed immediately after deserialization if get_outbound_scid_alias returns 0,
1003- /// indicating we were written by LDK prior to 0.0.106 which did not set outbound SCID aliases.
1003+ /// indicating we were written by LDK prior to 0.0.106 which did not set outbound SCID aliases
1004+ /// or prior to any channel actions during `Channel` initialization.
10041005 pub fn set_outbound_scid_alias(&mut self, outbound_scid_alias: u64) {
1005- assert_eq !(self.outbound_scid_alias, 0);
1006+ debug_assert_eq !(self.outbound_scid_alias, 0);
10061007 self.outbound_scid_alias = outbound_scid_alias;
10071008 }
10081009
You can’t perform that action at this time.
0 commit comments