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];
|
component checkInclusion[qLen];
|
||||||
for (var i = 0; i < qLen; i++) {
|
for (var i = 0; i < qLen; i++) {
|
||||||
|
|
||||||
checkInclusion[i] = CheckInclusion(nLevels);
|
CheckInclusion(nLevels)(
|
||||||
checkInclusion[i].index <== indices[i];
|
indices[i],
|
||||||
checkInclusion[i].treeSiblings <== treeSiblings[i];
|
chunkHashes[i],
|
||||||
checkInclusion[i].chunkHash <== chunkHashes[i];
|
treeSiblings[i],
|
||||||
checkInclusion[i].root <== root;
|
root);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue