mirror of
https://github.com/status-im/nim-eth.git
synced 2025-02-16 16:06:35 +00:00
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)
|
pos += sizeof(E)
|
||||||
else:
|
else:
|
||||||
trs "FIXED TYPE; USE CHUNK STREAM"
|
trs "FIXED TYPE; USE CHUNK STREAM"
|
||||||
var markleizer = createMerkleizer(maxChunksCount(T, Limit x.len))
|
var merkleizer = createMerkleizer(maxChunksCount(T, Limit x.len))
|
||||||
chunkedHashTreeRootForBasicTypes(markleizer, x)
|
chunkedHashTreeRootForBasicTypes(merkleizer, x)
|
||||||
elif T is BitArray:
|
elif T is BitArray:
|
||||||
hashTreeRootAux(x.bytes)
|
hashTreeRootAux(x.bytes)
|
||||||
elif T is array|object|tuple:
|
elif T is array|object|tuple:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user