Skip to content

Commit 3c0350e

Browse files
authored
Merge pull request #9476 from ellemouton/graph1
graph: refactor `graph.Builder` update handling
2 parents 5b1eaf9 + a86a5ed commit 3c0350e

File tree

6 files changed

+381
-398
lines changed

6 files changed

+381
-398
lines changed

discovery/gossiper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1977,7 +1977,7 @@ func (d *AuthenticatedGossiper) fetchPKScript(chanID *lnwire.ShortChannelID) (
19771977
func (d *AuthenticatedGossiper) addNode(msg *lnwire.NodeAnnouncement,
19781978
op ...batch.SchedulerOption) error {
19791979

1980-
if err := graph.ValidateNodeAnn(msg); err != nil {
1980+
if err := netann.ValidateNodeAnn(msg); err != nil {
19811981
return fmt.Errorf("unable to validate node announcement: %w",
19821982
err)
19831983
}

docs/release-notes/release-notes-0.19.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ The underlying functionality between those two options remain the same.
243243
* [Golang was updated to
244244
`v1.22.11`](https://github.com/lightningnetwork/lnd/pull/9462).
245245

246+
* Various refactors to simplify the
247+
`graph.Builder` [1](https://github.com/lightningnetwork/lnd/pull/9476).
248+
246249
## Breaking Changes
247250
## Performance Improvements
248251

graph/ann_validation.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)