graphdb: pass context to IsPublicNode

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:42 +02:00
1 parent 397330cbdb
commit f62ea62cfe
8 files changed
+26 -18

No files matched your search

+1 -1
View File
@@ -1331,7 +1331,7 @@ func (b *Builder) IsStaleNode(ctx context.Context, node route.Vertex,
//
// NOTE: This method is part of the ChannelGraphSource interface.
func (b *Builder) IsPublicNode(node route.Vertex) (bool, error) {
return b.v1Graph.IsPublicNode(node)
return b.v1Graph.IsPublicNode(context.TODO(), node)
}
// IsKnownEdge returns true if the graph source already knows of the passed