Skip to content

Commit

Permalink
Update packages/beacon-node/src/chain/rewards/syncCommitteeRewards.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Flaig <nflaig@protonmail.com>
  • Loading branch information
ensi321 and nflaig authored Feb 26, 2024
1 parent b7447aa commit ac6c427
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function computeSyncCommitteeRewards(
): Promise<SyncCommitteeRewards> {
const fork = preState.config.getForkName(block.slot);
if (fork === ForkName.phase0) {
throw Error("Cannot get sync rewards as phase0 block does not have sync committee!");
throw Error("Cannot get sync rewards as phase0 block does not have sync committee");
}

const altairBlock = block as altair.BeaconBlock;
Expand Down

0 comments on commit ac6c427

Please sign in to comment.