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

+3 -3
View File
@@ -674,10 +674,10 @@ func (c *ChannelGraph) DisabledChannelIDs(ctx context.Context,
}
// HasV1ChannelEdge returns true if the database knows of a channel edge.
func (c *ChannelGraph) HasV1ChannelEdge(chanID uint64) (time.Time,
time.Time, bool, bool, error) {
func (c *ChannelGraph) HasV1ChannelEdge(ctx context.Context,
chanID uint64) (time.Time, time.Time, bool, bool, error) {
return c.db.HasV1ChannelEdge(chanID)
return c.db.HasV1ChannelEdge(ctx, chanID)
}
// HasChannelEdge returns true if the database knows of a channel edge.