graphdb: pass context to IsClosedScid

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 4dcaf1c16a
commit 8722a96a4e
9 files changed
+22 -16

No files matched your search

+2 -1
View File
@@ -353,7 +353,8 @@ type Store interface { //nolint:interfacebloat
// IsClosedScid checks whether a channel identified by the passed in
// scid is closed. This helps avoid having to perform expensive
// validation checks.
IsClosedScid(scid lnwire.ShortChannelID) (bool, error)
IsClosedScid(ctx context.Context,
scid lnwire.ShortChannelID) (bool, error)
// UpdateEdgePolicy updates the edge routing policy for a single
// directed edge within the database for the referenced channel. The