graphdb: pass context to PruneGraph

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 13668ce45f
commit 7dbaa691c4
6 files changed
+28 -22

No files matched your search

+1 -1
View File
@@ -401,7 +401,7 @@ type Store interface { //nolint:interfacebloat
// slice of channels that have been closed by the target block along
// with any pruned nodes are returned if the function succeeds without
// error.
PruneGraph(spentOutputs []*wire.OutPoint,
PruneGraph(ctx context.Context, spentOutputs []*wire.OutPoint,
blockHash *chainhash.Hash, blockHeight uint32) (
[]*models.ChannelEdgeInfo, []route.Vertex, error)