feature: remove ScidAliasOptional dependency on ExplicitChannelTypeOptional

The [spec](https://github.com/lightning/bolts/blob/master/09-features.md)
does not specify a dependency between `ScidAliasOptional` (47) and
`ExplicitChannelTypeOptional` (45).

This bug lead to some connectivity issues with peers not setting the
45 feature bit while setting the 47.

The issue [6802](https://github.com/lightningnetwork/lnd/issues/6802) is
an example of this.
This commit is contained in:
positiveblue 2022-08-08 10:11:06 -07:00 committed by Olaoluwa Osuntokun
parent d9d0e470ad
commit f96866915b

View File

@ -72,9 +72,6 @@ var deps = depDesc{
lnwire.KeysendOptional: {
lnwire.TLVOnionPayloadOptional: {},
},
lnwire.ScidAliasOptional: {
lnwire.ExplicitChannelTypeOptional: {},
},
lnwire.ZeroConfOptional: {
lnwire.ScidAliasOptional: {},
},