Skip to content

Commit

Permalink
Fix/proof type (#206)
Browse files Browse the repository at this point in the history
* fix proof type
  • Loading branch information
vmidyllic authored Jan 25, 2024
1 parent de8aaca commit f890c45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions contracts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions contracts/validators/CredentialAtomicQueryV3Validator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}

Expand Down

0 comments on commit f890c45

Please sign in to comment.