graph/db: thread context through DisabledChannelIDs

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:33 +02:00
1 parent b1873e63ec
commit 0597250ae4
6 files changed
+16 -13

No files matched your search

+2 -1
View File
@@ -191,7 +191,8 @@ type Store interface { //nolint:interfacebloat
// DisabledChannelIDs returns the channel ids of disabled channels.
// A channel is disabled when two of the associated ChanelEdgePolicies
// have their disabled bit on.
DisabledChannelIDs(v lnwire.GossipVersion) ([]uint64, error)
DisabledChannelIDs(ctx context.Context,
v lnwire.GossipVersion) ([]uint64, error)
// AddChannelEdge adds a new (undirected, blank) edge to the graph
// database. An undirected edge from the two target nodes are created.