Skip to content

Commit bd6d2fa

Browse files
authored
fix: correct ElectraCommitteeValidatorsBits initialization in AttestationCache (#7739)
1 parent 26cc171 commit bd6d2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/consensus_object_pools/attestation_pool.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ func init(
624624
let committee = get_beacon_committee(
625625
state.data, slot, committee_index, cache)
626626
var
627-
validator_bits = typeof(result).B.init(committee.len)
627+
validator_bits = ElectraCommitteeValidatorsBits.init(committee.len)
628628
for index_in_committee, validator_index in committee:
629629
if participation_bitmap[validator_index] != 0:
630630
# If any flag got set, there was an attestation from this validator.

0 commit comments

Comments
 (0)