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 authored and GitHub committed 2019-01-31 22:19:40 -08:00
commit b7387a5972
1 file changed
+4 -4
+4 -4
View File
@@ -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