Skip to content

Commit

Permalink
Comment current date validation
Browse files Browse the repository at this point in the history
  • Loading branch information
artemskriabin committed Jun 25, 2024
1 parent 0cdf321 commit 672d041
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/service/api/handlers/create_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,9 @@ func validatePubSignals(
return errors.Wrap(err, "failed to validate DG1 hash")
}

if err := validatePubSignalsCurrentDate(requestData.ZKProof.PubSignals); err != nil {
return fmt.Errorf("invalid current date: %w", err)
}
//if err := validatePubSignalsCurrentDate(requestData.ZKProof.PubSignals); err != nil {
// return fmt.Errorf("invalid current date: %w", err)
//}

if err := validatePubSignalsAge(cfg, requestData.ZKProof.PubSignals[9]); err != nil {
return errors.Wrap(err, "failed to validate pub signals age")
Expand Down

0 comments on commit 672d041

Please sign in to comment.