chore: fix spelling errors (#21092)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
parent
5c90246b3f
commit
2e0884564f
3
.github/.codespellignore
vendored
3
.github/.codespellignore
vendored
@ -4,4 +4,5 @@ keypair
|
||||
pastTime
|
||||
hasTables
|
||||
Nam
|
||||
EyT
|
||||
EyT
|
||||
upTo
|
||||
@ -64,8 +64,8 @@ Supported app-db-backend types include 'goleveldb', 'rocksdb', 'pebbledb'.`,
|
||||
return fmt.Errorf("the database has no valid heights to prune, the latest height: %v", latestHeight)
|
||||
}
|
||||
|
||||
upTo := latestHeight - keepRecent
|
||||
cmd.Printf("pruning heights up to %v\n", upTo)
|
||||
diff := latestHeight - keepRecent
|
||||
cmd.Printf("pruning heights up to %v\n", diff)
|
||||
|
||||
err = rootStore.Prune(latestHeight)
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user