mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Optimize committee helpers (#4328)
This commit is contained in:
@@ -95,7 +95,7 @@ func main() {
|
||||
}
|
||||
// Retrieve attestation indices
|
||||
for _, att := range atts {
|
||||
committee, err := helpers.BeaconCommittee(state, att.Data.Slot, att.Data.CommitteeIndex)
|
||||
committee, err := helpers.BeaconCommitteeFromState(state, att.Data.Slot, att.Data.CommitteeIndex)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user