extData constraint

This commit is contained in:
poma 2021-08-19 13:19:12 +03:00
parent dd5623629a
commit 7fc3e37eb0
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657

View File

@ -130,4 +130,7 @@ template Transaction(levels, nIns, nOuts, zeroLeaf) {
for (var i = 0; i < levels - 1; i++) {
treeUpdater.pathElements[i] <== outPathElements[i];
}
signal extDataSquare;
extDataSquare <== extDataHash * extDataHash;
}