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> {
1000
1000
}
1001
1001
1002
1002
/// 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.
1004
1005
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);
1006
1007
self.outbound_scid_alias = outbound_scid_alias;
1007
1008
}
1008
1009
You can’t perform that action at this time.
0 commit comments