Merge pull request #2570 from Roasbeef/local-features-fix
lnwire: ensure even/odd features have the same base name
This commit is contained in:
commit
b7387a5972
@ -67,11 +67,11 @@ const (
|
|||||||
// not advertised to the entire network. A full description of these feature
|
// not advertised to the entire network. A full description of these feature
|
||||||
// bits is provided in the BOLT-09 specification.
|
// bits is provided in the BOLT-09 specification.
|
||||||
var LocalFeatures = map[FeatureBit]string{
|
var LocalFeatures = map[FeatureBit]string{
|
||||||
DataLossProtectRequired: "data-loss-protect-required",
|
DataLossProtectRequired: "data-loss-protect",
|
||||||
DataLossProtectOptional: "data-loss-protect-optional",
|
DataLossProtectOptional: "data-loss-protect",
|
||||||
InitialRoutingSync: "initial-routing-sync",
|
InitialRoutingSync: "initial-routing-sync",
|
||||||
GossipQueriesRequired: "gossip-queries-required",
|
GossipQueriesRequired: "gossip-queries",
|
||||||
GossipQueriesOptional: "gossip-queries-optional",
|
GossipQueriesOptional: "gossip-queries",
|
||||||
}
|
}
|
||||||
|
|
||||||
// GlobalFeatures is a mapping of known global feature bits to a descriptive
|
// GlobalFeatures is a mapping of known global feature bits to a descriptive
|
||||||
|
Loading…
Reference in New Issue
Block a user