graphdb: pass context to PruneTip
This commit is contained in:
6 files changed
+16
-11
No files matched your search
@@ -1887,7 +1887,7 @@ func (c *KVStore) DisconnectBlockAtHeight(height uint32) (
|
||||
// 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.
|
||||
func (c *KVStore) PruneTip() (*chainhash.Hash, uint32, error) {
|
||||
func (c *KVStore) PruneTip(_ context.Context) (*chainhash.Hash, uint32, error) {
|
||||
var (
|
||||
tipHash chainhash.Hash
|
||||
tipHeight uint32
|
||||
|
||||
Reference in new issue
Block a user