graphdb: pass context to FetchChanInfos

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent f62ea62cfe
commit 46d37a691f
7 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -288,7 +288,7 @@ type Store interface { //nolint:interfacebloat
// edges that exist at the time of the query. This can be used to
// respond to peer queries that are seeking to fill in gaps in their
// view of the channel graph.
FetchChanInfos(v lnwire.GossipVersion,
FetchChanInfos(ctx context.Context, v lnwire.GossipVersion,
chanIDs []uint64) ([]ChannelEdge, error)
// FetchChannelEdgesByOutpoint attempts to lookup the two directed edges