Merge pull request #9476 from ellemouton/graph1
graph: refactor `graph.Builder` update handling
This commit is contained in:
6 files changed
+381
-398
No files matched your search
@@ -1977,7 +1977,7 @@ func (d *AuthenticatedGossiper) fetchPKScript(chanID *lnwire.ShortChannelID) (
|
||||
func (d *AuthenticatedGossiper) addNode(msg *lnwire.NodeAnnouncement,
|
||||
op ...batch.SchedulerOption) error {
|
||||
|
||||
if err := graph.ValidateNodeAnn(msg); err != nil {
|
||||
if err := netann.ValidateNodeAnn(msg); err != nil {
|
||||
return fmt.Errorf("unable to validate node announcement: %w",
|
||||
err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user