fix `markleizer` typo (-> `merkleizer`)

Fix for a typo in a variable name.
This commit is contained in:
Etan Kissling 2021-10-20 12:14:55 +02:00 committed by zah
parent c247702ebc
commit 47343ff7c4
1 changed files with 2 additions and 2 deletions

View File

@ -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: