watchtower/wtwire/features: remove local/global feature names...

in favor of a universal FeatureNames index.
This commit is contained in:
Conner Fromknecht committed 2019-02-08 20:02:05 -08:00
1 parent 40df51eaaa
commit 4c7111256e
2 files changed
+4 -8

No files matched your search

+1 -1
View File
@@ -306,7 +306,7 @@ func (s *Server) handleInit(localInit, remoteInit *wtwire.Init) error {
}
remoteConnFeatures := lnwire.NewFeatureVector(
remoteInit.ConnFeatures, wtwire.LocalFeatures,
remoteInit.ConnFeatures, wtwire.FeatureNames,
)
unknownLocalFeatures := remoteConnFeatures.UnknownRequiredFeatures()