Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy committed Jan 29, 2025
1 parent df62359 commit 0e4709b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/src/SP1Helios.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ contract SP1Helios {
uint256 currentPeriod = getSyncCommitteePeriod(head);

// Note: We should always have a sync committee for the current head.
// The "start" sync committee hash is the hash of the sync committee that should sign the next update.
bytes32 currentSyncCommitteeHash = syncCommittees[currentPeriod];
if (currentSyncCommitteeHash != po.startSyncCommitteeHash) {
revert SyncCommitteeStartMismatch(po.startSyncCommitteeHash, currentSyncCommitteeHash);
Expand Down

0 comments on commit 0e4709b

Please sign in to comment.