graphdb: pass context to HasV1ChannelEdge

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:29 +02:00
1 parent 1d4c6aadb4
commit 87ed09a829
5 files changed
+15 -13

No files matched your search

+2 -4
View File
@@ -2244,10 +2244,8 @@ func (s *SQLStore) FetchChannelEdgesByOutpoint(ctx context.Context,
// result is returned as the second boolean.
//
// NOTE: part of the Store interface.
func (s *SQLStore) HasV1ChannelEdge(chanID uint64) (time.Time, time.Time, bool,
bool, error) {
ctx := context.TODO()
func (s *SQLStore) HasV1ChannelEdge(ctx context.Context,
chanID uint64) (time.Time, time.Time, bool, bool, error) {
var (
exists bool