graph/db: thread context to AddLightningNode

This commit is contained in:
Elle Mouton
2025-06-17 11:34:58 +02:00
parent c1740c14ba
commit d1cfb47428
15 changed files with 126 additions and 81 deletions

View File

@@ -260,7 +260,7 @@ func (s *Server) ImportGraph(ctx context.Context,
return nil, err
}
if err := graphDB.AddLightningNode(node); err != nil {
if err := graphDB.AddLightningNode(ctx, node); err != nil {
return nil, fmt.Errorf("unable to add node %v: %w",
rpcNode.PubKey, err)
}