Skip to content

Commit

Permalink
Merge dc3b207 into 4d89a0e
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored Mar 9, 2023
2 parents 4d89a0e + dc3b207 commit 2ebc877
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export function validateLightClientUpdate(

const signingRoot = ssz.phase0.SigningData.hashTreeRoot({
objectRoot: ssz.phase0.BeaconBlockHeader.hashTreeRoot(update.attestedHeader.beacon),
domain: store.config.getDomain(update.signatureSlot, DOMAIN_SYNC_COMMITTEE),
domain: store.config.getDomain(update.signatureSlot - 1, DOMAIN_SYNC_COMMITTEE),
});

if (!isValidBlsAggregate(participantPubkeys, signingRoot, update.syncAggregate.syncCommitteeSignature)) {
Expand Down

0 comments on commit 2ebc877

Please sign in to comment.