use circom 2.1.0 anonymous components
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
1955c11d69
commit
6735dc4bc4
|
@ -66,11 +66,11 @@ template StorageProver(blockSize, qLen, nLevels) {
|
|||
component checkInclusion[qLen];
|
||||
for (var i = 0; i < qLen; i++) {
|
||||
|
||||
checkInclusion[i] = CheckInclusion(nLevels);
|
||||
checkInclusion[i].index <== indices[i];
|
||||
checkInclusion[i].treeSiblings <== treeSiblings[i];
|
||||
checkInclusion[i].chunkHash <== chunkHashes[i];
|
||||
checkInclusion[i].root <== root;
|
||||
CheckInclusion(nLevels)(
|
||||
indices[i],
|
||||
chunkHashes[i],
|
||||
treeSiblings[i],
|
||||
root);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue