Skip to content

Commit

Permalink
Add passport root verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
artemskriabin committed Sep 11, 2024
1 parent f93f793 commit 555c534
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/config/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func (c *config) Verifier() *zk.Verifier {
v, err := zk.NewVerifier(nil,
zk.WithVerificationKeyFile(cfg.VerificationKeyPath),
zk.WithAgeAbove(cfg.AllowedAge),
zk.WithPassportRootVerifier(c.ProvideVerifier()),
zk.WithProofType(zk.GlobalPassport),
zk.WithProofSelectorValue(proofSelectorValue),
zk.WithEventID(proofEventIDValue),
Expand Down

0 comments on commit 555c534

Please sign in to comment.