diff --git a/eth/prysm.go b/eth/prysm.go index 6920494..88b0659 100644 --- a/eth/prysm.go +++ b/eth/prysm.go @@ -339,5 +339,4 @@ func (p *PrysmClient) isOnNetwork(ctx context.Context, hermesForkDigest [4]byte) return true, nil } return false, nil - } diff --git a/eth/topic_score_params.go b/eth/topic_score_params.go index d99547f..b99a11c 100644 --- a/eth/topic_score_params.go +++ b/eth/topic_score_params.go @@ -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 }