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

+2 -2
View File
@@ -980,7 +980,7 @@ func (c *KVStore) SetSourceNode(_ context.Context,
}, func() {})
}
// AddLightningNode adds a vertex/node to the graph database. If the node is not
// AddNode adds a vertex/node to the graph database. If the node is not
// in the database from before, this will add a new, unconnected one to the
// graph. If it is present from before, this will update that node's
// information. Note that this method is expected to only be called to update an
@@ -988,7 +988,7 @@ func (c *KVStore) SetSourceNode(_ context.Context,
// channel update.
//
// TODO(roasbeef): also need sig of announcement.
func (c *KVStore) AddLightningNode(ctx context.Context,
func (c *KVStore) AddNode(ctx context.Context,
node *models.Node, opts ...batch.SchedulerOption) error {
r := &batch.Request[kvdb.RwTx]{