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

+2 -3
View File
@@ -1664,11 +1664,10 @@ func (s *SQLStore) ForEachChannel(ctx context.Context,
// will be included in the response.
//
// NOTE: This is part of the Store interface.
func (s *SQLStore) FilterChannelRange(startHeight, endHeight uint32,
withTimestamps bool) ([]BlockChannelRange, error) {
func (s *SQLStore) FilterChannelRange(ctx context.Context, startHeight,
endHeight uint32, withTimestamps bool) ([]BlockChannelRange, error) {
var (
ctx = context.TODO()
startSCID = &lnwire.ShortChannelID{
BlockHeight: startHeight,
}