graph/db: thread context through to HasLightningNode

This commit is contained in:
Elle Mouton committed 2025-06-17 19:20:56 +02:00
1 parent 66c5a97202
commit dc6259fcc3
12 files changed
+31 -28

No files matched your search

+1 -1
View File
@@ -1755,7 +1755,7 @@ func (r *rpcServer) VerifyMessage(ctx context.Context,
//
// TODO(phlip9): Require valid nodes to have capital in active channels.
graph := r.server.graphDB
_, active, err := graph.HasLightningNode(pub)
_, active, err := graph.HasLightningNode(ctx, pub)
if err != nil {
return nil, fmt.Errorf("failed to query graph: %w", err)
}