graph/db: rename DeleteLightningNode

to DeleteNode
This commit is contained in:
Elle Mouton committed 2025-09-03 10:14:35 +02:00
1 parent cd3bd05810
commit 7a1b548e07
5 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -101,9 +101,9 @@ type V1Store interface { //nolint:interfacebloat
// node.
LookupAlias(ctx context.Context, pub *btcec.PublicKey) (string, error)
// DeleteLightningNode starts a new database transaction to remove a
// DeleteNode starts a new database transaction to remove a
// vertex/node from the database according to the node's public key.
DeleteLightningNode(ctx context.Context, nodePub route.Vertex) error
DeleteNode(ctx context.Context, nodePub route.Vertex) error
// NodeUpdatesInHorizon returns all the known lightning node which have
// an update timestamp within the passed range. This method can be used