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

@@ -78,7 +78,7 @@ func displayHeads(clients map[string]pb.BeaconChainClient) {
}
}
// compare heads between all RPC end points, log the missmatch if there's one.
// compare heads between all RPC end points, log the mismatch if there's one.
func compareHeads(clients map[string]pb.BeaconChainClient) {
endpt1 := randomEndpt(clients)
head1, err := clients[endpt1].GetChainHead(context.Background(), &emptypb.Empty{})
@@ -101,7 +101,7 @@ func compareHeads(clients map[string]pb.BeaconChainClient) {
log.Fatal(err)
}
if !reflect.DeepEqual(head1, head2) {
log.Error("Uh oh! Heads missmatched!")
log.Error("Uh oh! Heads mismatched!")
logHead(endpt1, head1)
logHead(endpt2, head2)