@solarity/zkit 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[](https://www.npmjs.com/package/@solarity/zkit)
|
|
2
2
|
[](https://opensource.org/licenses/MIT)
|
|
3
|
+
[](https://github.com/dl-solarity/zkit/actions/workflows/tests.yml)
|
|
3
4
|
|
|
4
5
|
# ZKit - Circom Zero Knowledge Kit
|
|
5
6
|
|
|
@@ -761,7 +761,7 @@ contract <%=verifier_id%> {
|
|
|
761
761
|
verified_ := checkInput(proofArr_)
|
|
762
762
|
|
|
763
763
|
/// @dev check pairings
|
|
764
|
-
if
|
|
764
|
+
if verified_ {
|
|
765
765
|
calculateChallenges(pointer_, proofArr_, publicSignals_)
|
|
766
766
|
calculateLagrange(pointer_)
|
|
767
767
|
calculatePI(pointer_, publicSignals_)
|
package/package.json
CHANGED
|
@@ -761,7 +761,7 @@ contract <%=verifier_id%> {
|
|
|
761
761
|
verified_ := checkInput(proofArr_)
|
|
762
762
|
|
|
763
763
|
/// @dev check pairings
|
|
764
|
-
if
|
|
764
|
+
if verified_ {
|
|
765
765
|
calculateChallenges(pointer_, proofArr_, publicSignals_)
|
|
766
766
|
calculateLagrange(pointer_)
|
|
767
767
|
calculatePI(pointer_, publicSignals_)
|