mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 13:28:01 -05:00
remove extra condition (#9836)
This commit is contained in:
@@ -410,7 +410,7 @@ func (v *validator) UpdateLogAggregateStats(resp *ethpb.ValidatorPerformanceResp
|
||||
summary.totalCorrectTarget++
|
||||
}
|
||||
if i < len(resp.CorrectlyVotedHead) && resp.CorrectlyVotedHead[i] {
|
||||
included = true
|
||||
// in altair, head == true also means source == true, hence no need to mark included true
|
||||
correctHead++
|
||||
summary.totalCorrectHead++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user