graph: rename HasLightningNode
to HasNode
This commit is contained in:
8 files changed
+16
-18
No files matched your search
+1
-1
@@ -873,7 +873,7 @@ func (b *Builder) assertNodeAnnFreshness(ctx context.Context, node route.Vertex,
|
||||
// node announcements, we will ignore such nodes. If we do know about
|
||||
// this node, check that this update brings info newer than what we
|
||||
// already have.
|
||||
lastUpdate, exists, err := b.cfg.Graph.HasLightningNode(ctx, node)
|
||||
lastUpdate, exists, err := b.cfg.Graph.HasNode(ctx, node)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to query for the "+
|
||||
"existence of node: %w", err)
|
||||
|
||||
Reference in new issue
Block a user