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
@@ -1492,7 +1492,7 @@ const (
// with the current UTXO state. A slice of channels that have been closed by
// the target block along with any pruned nodes are returned if the function
// succeeds without error.
func (c *KVStore) PruneGraph(spentOutputs []*wire.OutPoint,
func (c *KVStore) PruneGraph(_ context.Context, spentOutputs []*wire.OutPoint,
blockHash *chainhash.Hash, blockHeight uint32) (
[]*models.ChannelEdgeInfo, []route.Vertex, error) {