graph/db: thread context through DeleteChannelEdges
This commit is contained in:
8 files changed
+34
-28
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user