multi: rename models.LightningNode to models.Node

This commit is contained in:
Elle Mouton
2025-09-01 12:40:15 +02:00
parent ea6cc8154f
commit c663a557c4
26 changed files with 212 additions and 214 deletions

View File

@@ -226,7 +226,7 @@ func (s *Server) ImportGraph(ctx context.Context,
var err error
for _, rpcNode := range graph.Nodes {
node := &models.LightningNode{
node := &models.Node{
HaveNodeAnnouncement: true,
LastUpdate: time.Unix(
int64(rpcNode.LastUpdate), 0,