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

+3 -3
View File
@@ -112,11 +112,11 @@ type V1Store interface { //nolint:interfacebloat
NodeUpdatesInHorizon(startTime,
endTime time.Time) ([]models.Node, error)
// FetchLightningNode attempts to look up a target node by its identity
// 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.
FetchLightningNode(ctx context.Context,
nodePub route.Vertex) (*models.Node, error)
FetchNode(ctx context.Context, nodePub route.Vertex) (*models.Node,
error)
// HasLightningNode determines if the graph has a vertex identified by
// the target node identity public key. If the node exists in the