Skip to content

Commit

Permalink
chore:fix typo (#9952)
Browse files Browse the repository at this point in the history
  • Loading branch information
goofylfg authored Apr 24, 2024
1 parent 2bd713b commit 4753554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cl/phase1/core/state/shuffling/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func ComputeShuffledIndex(conf *clparams.BeaconChainConfig, ind, ind_count uint6
// Read hash value.
hashValue := binary.LittleEndian.Uint64(preInputs[i][:8])

// Caclulate pivot and flip.
// Calculate pivot and flip.
pivot := hashValue % ind_count
flip := (pivot + ind_count - ind) % ind_count

Expand Down
2 changes: 1 addition & 1 deletion eth/stagedsync/bor_heimdall_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func fetchAndWriteHeimdallStateSyncEvents(
/* TODO
// we want to get as many historical events as we can in
// each call to heimdall - but we need to make sure we
// don't type to get too recent a sync othewise it will
// don't type to get too recent a sync otherwise it will
// return a nil response
// to implement this we need to do block processing vs the
Expand Down

0 comments on commit 4753554

Please sign in to comment.