From ca022e6d5a399b1be8835df7c5ee4b230de635c8 Mon Sep 17 00:00:00 2001 From: arkpar Date: Wed, 18 Dec 2024 21:09:27 +0100 Subject: [PATCH] Fixed embedded merkle node size bit slice --- text/merklization.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/merklization.tex b/text/merklization.tex index 37a8b46..6ecb4b0 100644 --- a/text/merklization.tex +++ b/text/merklization.tex @@ -76,7 +76,7 @@ \subsubsection{Node Encoding and Trie Identification} L&\colon\left\{\begin{aligned} (\H, \Y) &\to \mathbb{B}_{512}\\ (k, v) &\mapsto \begin{cases} - [1, 0] \frown \text{bits}(\se_1(|v|))_{\dots6} \frown \text{bits}(k)_{\dots248} \frown \text{bits}(v) \frown [0, 0, \dots] &\when |v| \le 32\\ + [1, 0] \frown \text{bits}(\se_1(|v|))_{2\dots} \frown \text{bits}(k)_{\dots248} \frown \text{bits}(v) \frown [0, 0, \dots] &\when |v| \le 32\\ [1, 1, 0, 0, 0, 0, 0, 0] \frown \text{bits}(k)_{\dots248} \frown \text{bits}(\mathcal{H}(v)) &\otherwise \end{cases} \end{aligned}\right.