Skip to content

Commit 907ded9

Browse files
committed
chore: address PR's comment
1 parent 62e9a13 commit 907ded9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/ssz/src/type/basic.ts

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export abstract class BasicType<V> extends Type<V> {
3030
}
3131

3232
hashTreeRoot(value: V): Uint8Array {
33-
// cannot use allocUnsafe() here because hashTreeRootInto() may not fill the whole 32 bytes
3433
const root = new Uint8Array(32);
3534
this.hashTreeRootInto(value, root, 0);
3635
return root;

0 commit comments

Comments
 (0)