Skip to content

Commit 57ee60c

Browse files
author
rian
committed
typo
1 parent 46e534e commit 57ee60c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/trie/proof.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ func GetProof(leaf *felt.Felt, tri *Trie) ([]ProofNode, error) {
4242
}
4343

4444
// The spec requires Edge nodes. However Juno doesn't have edge nodes.
45-
// if Len=251 and have left and right -> create a Binary
46-
// if len=251 and only have one child -> create edge
47-
// if len!=251, check if child-parent length = 1, if so ,create Binary
48-
// if len!=251, check if child-parent length = 1, if not ,create Edge
45+
// if Len=250 and have left and right -> create a Binary
46+
// if len=250 and only have one child -> create edge
47+
// if len!=250, check if child-parent length = 1, if so ,create Binary
48+
// if len!=250, check if child-parent length = 1, if not ,create Edge
4949
for i, sNode := range nodesExcludingLeaf {
5050
// sLeft := sNode.node.Left
5151
// sRight := sNode.node.Right

0 commit comments

Comments
 (0)