mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user