multi: rename AddLightningNode methods

to AddNode
This commit is contained in:
Elle Mouton committed 2025-09-03 10:14:35 +02:00
1 parent c663a557c4
commit 060219780b
14 files changed
+75 -75

No files matched your search

+1 -1
View File
@@ -1003,7 +1003,7 @@ func (b *Builder) addNode(ctx context.Context, node *models.Node,
return err
}
if err := b.cfg.Graph.AddLightningNode(ctx, node, op...); err != nil {
if err := b.cfg.Graph.AddNode(ctx, node, op...); err != nil {
return fmt.Errorf("unable to add node %x to the "+
"graph: %w", node.PubKeyBytes, err)
}