gossiper: validate our own node announement

This commit is contained in:
Johan T. Halseth 2018-10-10 15:05:21 +02:00
parent 349551373d
commit 5dcd2a4530
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -1577,7 +1577,6 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(
case *lnwire.NodeAnnouncement:
timestamp := time.Unix(int64(msg.Timestamp), 0)
if nMsg.isRemote {
// We'll quickly ask the router if it already has a
// newer update for this node so we can skip validating
// signatures if not required.
@ -1593,7 +1592,6 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(
nMsg.err <- err
return nil
}
}
features := lnwire.NewFeatureVector(
msg.Features, lnwire.GlobalFeatures,