From 3d78c66119d09aa38540a119da45dac64025fb8c Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Wed, 20 Oct 2021 14:21:06 +0200 Subject: [PATCH] fix compile error due to cyrillic T (#411) There was a cyrillic T in some big-endian specific code that broke the compilation on such platforms. This replaces that T with an ASCII T to fix the build. --- 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 10382f9..bf672a5 100644 --- a/eth/ssz/merkleization.nim +++ b/eth/ssz/merkleization.nim @@ -469,9 +469,9 @@ func chunkedHashTreeRootForBasicTypes[T](merkleizer: var SszMerkleizerImpl, else: static: doAssert T is UintN - doAssert bytesPerChunk mod sizeof(Т) == 0 + doAssert bytesPerChunk mod sizeof(T) == 0 - const valuesPerChunk = bytesPerChunk div sizeof(Т) + const valuesPerChunk = bytesPerChunk div sizeof(T) var writtenValues = 0