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:
Cosmos SDK 2024-07-26 17:14:27 +02:00 committed by GitHub
parent 5c90246b3f
commit 2e0884564f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -4,4 +4,5 @@ keypair
pastTime
hasTables
Nam
EyT
EyT
upTo

View File

@ -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 {