graphdb: pass context to PruneTip

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 9f855175d5
commit a31c86b0ee
6 files changed
+16 -11

No files matched your search

+1 -1
View File
@@ -383,7 +383,7 @@ type Store interface { //nolint:interfacebloat
// has been used to prune channels in the graph. Knowing the "prune tip"
// allows callers to tell if the graph is currently in sync with the
// current best known UTXO state.
PruneTip() (*chainhash.Hash, uint32, error)
PruneTip(ctx context.Context) (*chainhash.Hash, uint32, error)
// PruneGraphNodes is a garbage collection method which attempts to
// prune out any nodes from the channel graph that are currently