Skip to content

Commit

Permalink
Fix failing sync committee test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner authored and michaelsproul committed Jul 26, 2021
1 parent 78175b6 commit a60a28c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ fn aggregated_gossip_verification() {
assert_invalid!(
"sync contribution created with incorrect sync committee",
next_valid_contribution.clone(),
SyncCommitteeError::InvalidSignature
SyncCommitteeError::AggregatorNotInCommittee { aggregator_index }
if aggregator_index == next_valid_contribution.message.aggregator_index
);
}

Expand Down

0 comments on commit a60a28c

Please sign in to comment.