graphdb: pass context to ChannelView
This commit is contained in:
6 files changed
+10
-13
No files matched your search
+1
-1
@@ -231,7 +231,7 @@ func (b *Builder) Start() error {
|
||||
// FilteredChainView instance. We do this before, as otherwise
|
||||
// we may miss on-chain events as the filter hasn't properly
|
||||
// been applied.
|
||||
channelView, err := b.cfg.Graph.ChannelView()
|
||||
channelView, err := b.cfg.Graph.ChannelView(context.TODO())
|
||||
if err != nil && !errors.Is(
|
||||
err, graphdb.ErrGraphNoEdgesFound,
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user