multi: rename AddLightningNode methods
to AddNode
This commit is contained in:
14 files changed
+75
-75
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user