Skip to content

Commit

Permalink
Merge 46dd954 into b0f2533
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain authored Mar 25, 2022
2 parents b0f2533 + 46dd954 commit 245394e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {forks} from "../../util/types";
// type primitiveType = boolean | number | bigint | Uint8Array | Array<boolean> | object | undefined;

export function createRandomValue(type: Type<unknown>): unknown {
return type.defaultValue;
return type.defaultValue();
}

export function getSSZType(sszTypeName: string, forkName: string): Type<unknown> {
Expand Down

0 comments on commit 245394e

Please sign in to comment.