Skip to content

Commit

Permalink
Merge pull request #6 from 0xPolygonID/chore/remove-unused-files-from…
Browse files Browse the repository at this point in the history
…-packagemanager

removed unused files
  • Loading branch information
ilya-korotya authored Jan 20, 2024
2 parents e9c310f + 21d14fe commit a2f140e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packagemanager/packagemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,6 @@ func NewPackageManager(
circuitsFolderPath string,
) (*iden3comm.PackageManager, error) {
circuitsPath := fmt.Sprintf("%s/%s", circuitsFolderPath, "authV2")
_, err := os.Stat(fmt.Sprintf("%s/circuit_final.zkey", circuitsPath))
if err != nil {
return nil, errors.Errorf(
"issuer with the file circuit_final.zkey by path '%s': %v", circuitsPath, err)
}
_, err = os.Stat(fmt.Sprintf("%s/circuit.wasm", circuitsPath))
if err != nil {
return nil, errors.Errorf(
"issuer with the file circuit.wasm by path '%s': %v", circuitsPath, err)
}
verificationKey, err := os.ReadFile(fmt.Sprintf("%s/verification_key.json", circuitsPath))
if err != nil {
return nil, errors.Errorf(
Expand Down

0 comments on commit a2f140e

Please sign in to comment.