diff --git a/beacon_chain/ssz/merkleization.nim b/beacon_chain/ssz/merkleization.nim index fe950ad7c..509108cca 100644 --- a/beacon_chain/ssz/merkleization.nim +++ b/beacon_chain/ssz/merkleization.nim @@ -545,8 +545,8 @@ func hashTreeRootAux[T](x: T): Eth2Digest = pos += sizeof(E) else: trs "FIXED TYPE; USE CHUNK STREAM" - var markleizer = createMerkleizer(maxChunksCount(T, Limit x.len)) - chunkedHashTreeRootForBasicTypes(markleizer, x) + var merkleizer = createMerkleizer(maxChunksCount(T, Limit x.len)) + chunkedHashTreeRootForBasicTypes(merkleizer, x) elif T is BitArray: hashTreeRootAux(x.bytes) elif T is SingleMemberUnion: