diff --git a/contracts/package-lock.json b/contracts/package-lock.json index 46a52874..40821dd2 100644 --- a/contracts/package-lock.json +++ b/contracts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@iden3/contracts", - "version": "1.4.3", + "version": "1.4.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@iden3/contracts", - "version": "1.4.3", + "version": "1.4.4", "license": "GPL-3.0", "dependencies": { "@openzeppelin/contracts": "^4.7.3", diff --git a/contracts/package.json b/contracts/package.json index 6848e6c5..9cec48da 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,7 +1,7 @@ { "name": "@iden3/contracts", "description": "Smart Contract library for Solidity", - "version": "1.4.3", + "version": "1.4.4", "files": [ "**/*.sol", "/build/contracts/*.json", diff --git a/contracts/validators/CredentialAtomicQueryV3Validator.sol b/contracts/validators/CredentialAtomicQueryV3Validator.sol index fde3a56c..45a5c110 100644 --- a/contracts/validators/CredentialAtomicQueryV3Validator.sol +++ b/contracts/validators/CredentialAtomicQueryV3Validator.sol @@ -174,8 +174,8 @@ contract CredentialAtomicQueryV3Validator is CredentialAtomicQueryValidator { function _checkProofType(uint256 queryProofType, uint256 pubSignalProofType) internal pure { require( - pubSignalProofType == 0 || queryProofType == pubSignalProofType, - "Proof type should match the query" + queryProofType == 0 || queryProofType == pubSignalProofType, + "Proof type should match the requested one in query" ); }