graphdb: pass context to ChannelID

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:29 +02:00
1 parent 3079c07afb
commit 397330cbdb
6 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -3204,7 +3204,7 @@ func abandonChanFromGraph(chanGraph *graphdb.VersionedGraph,
// First, we'll obtain the channel ID. If we can't locate this, then
// it's the case that the channel may have already been removed from
// the graph, so we'll return a nil error.
chanID, err := chanGraph.ChannelID(chanPoint)
chanID, err := chanGraph.ChannelID(context.TODO(), chanPoint)
switch {
case errors.Is(err, graphdb.ErrEdgeNotFound):
return nil