From 6272eaa6cde1bf7cdda9a8fdbd374f9cdc999690 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Wed, 20 Oct 2021 14:20:58 +0200 Subject: [PATCH] fix `markleizer` typo (-> `merkleizer`) (#410) Fix for a typo in a variable name. --- eth/ssz/merkleization.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/ssz/merkleization.nim b/eth/ssz/merkleization.nim index b553499..10382f9 100644 --- a/eth/ssz/merkleization.nim +++ b/eth/ssz/merkleization.nim @@ -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: