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
@@ -3212,7 +3212,7 @@ func abandonChanFromGraph(chanGraph *graphdb.VersionedGraph,
// If the channel ID is still in the graph, then that means the channel
// is still open, so we'll now move to purge it from the graph.
return chanGraph.DeleteChannelEdges(false, true, chanID)
return chanGraph.DeleteChannelEdges(context.TODO(), false, true, chanID)
}
// abandonChan removes a channel from the database, graph and contract court.