Fix numerous spelling error and typos in the log messages, comments, and documentation. (#12385)

* Minor typos and spelling fixes (comments, logs, & docs only, no code changes)

* Fix seplling in log message

* Additional spelling tweaks based on review from @prestonvanloon
This commit is contained in:
Nick Sullivan
2023-05-11 13:45:43 -07:00
committed by GitHub
parent aef22bf54e
commit 5c00fcb84f
34 changed files with 46 additions and 46 deletions

View File

@@ -13,7 +13,7 @@ func (s *Store) SaveGenesisValidatorsRoot(_ context.Context, genValRoot []byte)
bkt := tx.Bucket(genesisInfoBucket)
enc := bkt.Get(genesisValidatorsRootKey)
if len(enc) != 0 {
return fmt.Errorf("cannot overwite existing genesis validators root: %#x", enc)
return fmt.Errorf("cannot overwrite existing genesis validators root: %#x", enc)
}
return bkt.Put(genesisValidatorsRootKey, genValRoot)
})