diff --git a/internal/zkp/config.go b/internal/zkp/config.go index be0ae62..1e004e9 100644 --- a/internal/zkp/config.go +++ b/internal/zkp/config.go @@ -25,8 +25,7 @@ type verifierer struct { func (v *verifierer) Verifier() *Verifier { return v.once.Do(func() interface{} { cfg := struct { - Enabled bool `fig:"enabled"` - Schema string `fig:"schema,required"` + Enabled bool `fig:"enabled"` }{ Enabled: true, } @@ -42,7 +41,6 @@ func (v *verifierer) Verifier() *Verifier { return &Verifier{ Enabled: cfg.Enabled, - Schema: cfg.Schema, challenges: make(map[string]*Challenge), } }).(*Verifier) diff --git a/internal/zkp/main.go b/internal/zkp/main.go index 94614f1..57abd55 100644 --- a/internal/zkp/main.go +++ b/internal/zkp/main.go @@ -27,7 +27,6 @@ type Verifier struct { mu sync.Mutex Enabled bool - Schema string // Map for storing challenges to be verified in auth proofs. No need to store in db - very short-live data. challenges map[string]*Challenge