Skip to content

Commit

Permalink
format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
cortze committed Sep 24, 2024
1 parent 25dfcc6 commit d21bdb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion eth/prysm.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,4 @@ func (p *PrysmClient) isOnNetwork(ctx context.Context, hermesForkDigest [4]byte)
return true, nil
}
return false, nil

}
2 changes: 1 addition & 1 deletion eth/topic_score_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ func committeeCountPerSlot(activeValidators uint64) uint64 {
}

func slotCommitteeCount(activeValidatorCount uint64) uint64 {
var committeesPerSlot = activeValidatorCount / currentBeaconConfig.SecondsPerSlot / currentBeaconConfig.TargetCommitteeSize
committeesPerSlot := activeValidatorCount / currentBeaconConfig.SecondsPerSlot / currentBeaconConfig.TargetCommitteeSize
if committeesPerSlot > currentBeaconConfig.MaxCommitteesPerSlot {
return currentBeaconConfig.MaxCommitteesPerSlot
}
Expand Down

0 comments on commit d21bdb4

Please sign in to comment.