Merge pull request #2570 from Roasbeef/local-features-fix

lnwire: ensure even/odd features have the same base name
This commit is contained in:
Olaoluwa Osuntokun 2019-01-31 22:19:40 -08:00 committed by GitHub
commit b7387a5972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,11 +67,11 @@ const (
// not advertised to the entire network. A full description of these feature
// bits is provided in the BOLT-09 specification.
var LocalFeatures = map[FeatureBit]string{
DataLossProtectRequired: "data-loss-protect-required",
DataLossProtectOptional: "data-loss-protect-optional",
DataLossProtectRequired: "data-loss-protect",
DataLossProtectOptional: "data-loss-protect",
InitialRoutingSync: "initial-routing-sync",
GossipQueriesRequired: "gossip-queries-required",
GossipQueriesOptional: "gossip-queries-optional",
GossipQueriesRequired: "gossip-queries",
GossipQueriesOptional: "gossip-queries",
}
// GlobalFeatures is a mapping of known global feature bits to a descriptive