mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-20 02:08:12 +00:00
fix markleizer
typo (-> merkleizer
)
Fix for a typo in a variable name.
This commit is contained in:
parent
c247702ebc
commit
47343ff7c4
@ -545,8 +545,8 @@ func hashTreeRootAux[T](x: T): Eth2Digest =
|
|||||||
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 SingleMemberUnion:
|
elif T is SingleMemberUnion:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user