graph/db: thread context through DisabledChannelIDs
This commit is contained in:
6 files changed
+16
-13
No files matched your search
+1
-1
@@ -574,7 +574,7 @@ func (b *Builder) pruneZombieChans() error {
|
||||
// the channel being closed and can prune it from our graph.
|
||||
if b.cfg.AssumeChannelValid {
|
||||
disabledChanIDs, err := b.cfg.Graph.DisabledChannelIDs(
|
||||
lnwire.GossipVersion1,
|
||||
context.TODO(), lnwire.GossipVersion1,
|
||||
)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to get disabled channels "+
|
||||
|
||||
Reference in new issue
Block a user