graphdb: pass context to ChannelView
This commit is contained in:
6 files changed
+10
-13
No files matched your search
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user