mirror of
https://github.com/arnaucube/miksi-core.git
synced 2026-02-07 11:36:47 +01:00
Update README.md
This commit is contained in:
@@ -55,7 +55,11 @@ template Deposit(nLevels) {
|
||||
comCheck.in[1] <== commitment;
|
||||
comCheck.out === 1;
|
||||
|
||||
// TODO instead of 2 siblings input, get siblingsOld from siblingsNew[len-1]
|
||||
// TODO instead of 2 siblings input, get siblingsOld from
|
||||
// siblingsNew[len-1] both siblingsOld & siblingsNew have same values
|
||||
// except for one, can be merged into one, to ensure that the circuit
|
||||
// checks that the leaf non existing under rootOld is in the same
|
||||
// position than the check that the leaf exists under the rootNew
|
||||
|
||||
// check that nLevels-1 siblings match from siblingsOld & siblingsNew
|
||||
component siblEq[nLevels];
|
||||
|
||||
Reference in New Issue
Block a user