mirror of
https://github.com/vacp2p/rln-contract.git
synced 2025-01-09 13:55:45 +00:00
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…
x
Reference in New Issue
Block a user