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

Fix for a typo in a variable name.
This commit is contained in:
Etan Kissling 2021-10-20 14:20:58 +02:00 committed by GitHub
parent 9a1bb5e125
commit 6272eaa6cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -567,8 +567,8 @@ func hashTreeRootAux[T](x: T): Digest =
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 array|object|tuple: