Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Dec 29, 2023
1 parent 2b9d51b commit 90014b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ describe("CachedBeaconState", () => {
const newStateBytes = newCachedState.serialize();
expect(newStateBytes).toEqual(stateBytes);
expect(newCachedState.hashTreeRoot()).toEqual(state.hashTreeRoot());
const shufflingGetter = (shufflingEpoch: Epoch, dependentRoot: RootHex) => {
const shufflingGetter = (shufflingEpoch: Epoch, dependentRoot: RootHex): EpochShuffling | null => {
if (
shufflingEpoch === seedState.epochCtx.epoch - 1 &&
dependentRoot === getShufflingDecisionBlock(seedState, shufflingEpoch)
Expand Down

0 comments on commit 90014b3

Please sign in to comment.