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
@@ -18,5 +18,5 @@ type GraphSource interface {
// IsPublicNode is a helper method that determines whether the node with
// the given public key is seen as a public node in the graph from the
// graph's source node's point of view.
IsPublicNode(pubKey [33]byte) (bool, error)
IsPublicNode(ctx context.Context, pubKey [33]byte) (bool, error)
}