Files
zeekay 579f53c3cc chore: remove local replace directives and update dependencies
- Update github.com/luxfi/netrunner v1.15.3 → v1.15.4
- Update github.com/luxfi/node v1.22.77 → v1.22.80
- Remove local replace directive for netrunner
- Use published package versions for reproducible builds
2026-01-03 07:09:01 -08:00

27 lines
592 B
Go

// Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Package signatureaggregator provides Warp signature aggregation functionality
package signatureaggregator
import (
"os"
"path/filepath"
)
// Cleanup cleans up signature aggregator state files.
func Cleanup(runPath, storageDir string) error {
// Clean up run path
if runPath != "" {
pidFile := filepath.Join(runPath, "aggregator.pid")
_ = os.Remove(pidFile)
}
// Clean up storage directory
if storageDir != "" {
_ = os.RemoveAll(storageDir)
}
return nil
}