multi: rename FetchLightningNode

to FetchNode
This commit is contained in:
Elle Mouton committed 2025-09-03 10:14:35 +02:00
1 parent 060219780b
commit cd3bd05810
12 files changed
+41 -42

No files matched your search

+2 -2
View File
@@ -261,12 +261,12 @@ func (s *SQLStore) AddNode(ctx context.Context,
return s.nodeScheduler.Execute(ctx, r)
}
// FetchLightningNode attempts to look up a target node by its identity public
// FetchNode attempts to look up a target node by its identity public
// key. If the node isn't found in the database, then ErrGraphNodeNotFound is
// returned.
//
// NOTE: part of the V1Store interface.
func (s *SQLStore) FetchLightningNode(ctx context.Context,
func (s *SQLStore) FetchNode(ctx context.Context,
pubKey route.Vertex) (*models.Node, error) {
var node *models.Node