graphdb: pass context to FilterKnownChanIDs

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 46d37a691f
commit 072244ee18
6 files changed
+21 -16

No files matched your search

+3 -2
View File
@@ -267,8 +267,9 @@ type Store interface { //nolint:interfacebloat
// callers to determine the set of channels another peer knows of that
// we don't. The ChannelUpdateInfos for the known zombies is also
// returned.
FilterKnownChanIDs(chansInfo []ChannelUpdateInfo) ([]uint64,
[]ChannelUpdateInfo, error)
FilterKnownChanIDs(ctx context.Context,
chansInfo []ChannelUpdateInfo) ([]uint64, []ChannelUpdateInfo,
error)
// FilterChannelRange returns the channel ID's of all known channels
// which were mined in a block height within the passed range. The