mirror of https://github.com/status-im/nim-eth.git
fix `markleizer` typo (-> `merkleizer`) (#410)
Fix for a typo in a variable name.
This commit is contained in:
parent
9a1bb5e125
commit
6272eaa6cd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue