graph/db: thread context through DeleteChannelEdges

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:59 +02:00
1 parent 37cc6b29d9
commit acdef84d30
8 files changed
+34 -28

No files matched your search

+1 -1
View File
@@ -630,7 +630,7 @@ func (b *Builder) pruneZombieChans() error {
log.Tracef("Pruning zombie channel with ChannelID(%v)", chanID)
}
err := b.v1Graph.DeleteChannelEdges(
b.cfg.StrictZombiePruning, true, toPrune...,
context.TODO(), b.cfg.StrictZombiePruning, true, toPrune...,
)
if err != nil {
return fmt.Errorf("unable to delete zombie channels: %w", err)