prysm-pulse/slasher/db/db.go

11 lines
205 B
Go
Raw Normal View History

package db
import (
"github.com/prysmaticlabs/prysm/slasher/db/kv"
)
// NewDB initializes a new DB.
func NewDB(dirPath string, cfg *kv.Config) (*kv.Store, error) {
return kv.NewKVStore(dirPath, cfg)
}