Merge pull request #9476 from ellemouton/graph1

graph: refactor `graph.Builder` update handling
This commit is contained in:
Oliver Gugger authored and GitHub committed 2025-02-07 07:23:41 -06:00
commit 3c0350e481
6 files changed
+381 -398

No files matched your search

+1 -1
View File
@@ -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)
}