graph/db: thread context to AddLightningNode
This commit is contained in:
15 files changed
+126
-81
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user