graph/db: thread context through DisabledChannelIDs

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:33 +02:00
1 parent b1873e63ec
commit 0597250ae4
6 files changed
+16 -13

No files matched your search

+1 -1
View File
@@ -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 "+