multi: remove LocalFeatures and GlobalFeatures

This commit is contained in:
Conner Fromknecht committed 2019-11-08 05:32:00 -08:00
1 parent 16318c5a41
commit 5e27b5022c
9 files changed
+16 -37

No files matched your search

+1 -3
View File
@@ -1459,9 +1459,7 @@ func (d *AuthenticatedGossiper) addNode(msg *lnwire.NodeAnnouncement) error {
}
timestamp := time.Unix(int64(msg.Timestamp), 0)
features := lnwire.NewFeatureVector(
msg.Features, lnwire.GlobalFeatures,
)
features := lnwire.NewFeatureVector(msg.Features, lnwire.Features)
node := &channeldb.LightningNode{
HaveNodeAnnouncement: true,
LastUpdate: timestamp,