Fix all typos (#14769)

This commit is contained in:
Preston Van Loon
2025-01-03 03:40:13 -06:00
committed by GitHub
parent 79ea77ff57
commit 1f720bdbf4
14 changed files with 37 additions and 37 deletions

View File

@@ -13,14 +13,14 @@ import (
// SetupDB instantiates and returns a DB instance for the validator client.
// The `minimal` flag indicates whether the DB should be instantiated with minimal, filesystem
// slashing protection database.
func SetupDB(t testing.TB, pubkeys [][fieldparams.BLSPubkeyLength]byte, mimimal bool) iface.ValidatorDB {
func SetupDB(t testing.TB, pubkeys [][fieldparams.BLSPubkeyLength]byte, minimal bool) iface.ValidatorDB {
var (
db iface.ValidatorDB
err error
)
// Create a new DB instance.
if mimimal {
if minimal {
config := &filesystem.Config{PubKeys: pubkeys}
db, err = filesystem.NewStore(t.TempDir(), config)
} else {