graphdb: pass context to ChannelView

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 7dbaa691c4
commit 9f855175d5
6 files changed
+10 -13

No files matched your search

+2 -2
View File
@@ -755,8 +755,8 @@ func (c *ChannelGraph) FetchChannelEdgesByID(ctx context.Context,
}
// ChannelView returns the verifiable edge information for each active channel.
func (c *ChannelGraph) ChannelView() ([]EdgePoint, error) {
return c.db.ChannelView()
func (c *ChannelGraph) ChannelView(ctx context.Context) ([]EdgePoint, error) {
return c.db.ChannelView(ctx)
}
// IsZombieEdge returns whether the edge is considered zombie.