fix: cleanup

This commit is contained in:
rymnc
2024-02-23 01:17:54 +05:30
parent 5ef581ea63
commit d733fb196c

View File

@@ -109,9 +109,6 @@ library BinaryIMTMemory {
if (index & 1 == 0) {
lastSubtrees[i] = [hash, defaultZero(i)];
} else {
if (i > 0) {
lastSubtrees[i][0] = lastSubtrees[i][0];
}
lastSubtrees[i][1] = hash;
}
hash = PoseidonT3.hash(lastSubtrees[i]);