graph/db: thread context through FilterChannelRange

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

No files matched your search

+3 -2
View File
@@ -277,8 +277,9 @@ type Store interface { //nolint:interfacebloat
// offline. If withTimestamps is true then the timestamp info of the
// latest received channel update messages of the channel will be
// included in the response.
FilterChannelRange(startHeight, endHeight uint32, withTimestamps bool) (
[]BlockChannelRange, error)
FilterChannelRange(ctx context.Context, startHeight,
endHeight uint32,
withTimestamps bool) ([]BlockChannelRange, error)
// FetchChanInfos returns the set of channel edges that correspond to
// the passed channel ID's. If an edge is the query is unknown to the