fix: cleanup
This commit is contained in:
parent
5ef581ea63
commit
d733fb196c
|
@ -109,9 +109,6 @@ library BinaryIMTMemory {
|
||||||
if (index & 1 == 0) {
|
if (index & 1 == 0) {
|
||||||
lastSubtrees[i] = [hash, defaultZero(i)];
|
lastSubtrees[i] = [hash, defaultZero(i)];
|
||||||
} else {
|
} else {
|
||||||
if (i > 0) {
|
|
||||||
lastSubtrees[i][0] = lastSubtrees[i][0];
|
|
||||||
}
|
|
||||||
lastSubtrees[i][1] = hash;
|
lastSubtrees[i][1] = hash;
|
||||||
}
|
}
|
||||||
hash = PoseidonT3.hash(lastSubtrees[i]);
|
hash = PoseidonT3.hash(lastSubtrees[i]);
|
||||||
|
|
Loading…
Reference in New Issue