From 2389dca7355c73b5c51c871ab8936060218a0391 Mon Sep 17 00:00:00 2001 From: vbasiuk Date: Wed, 6 Dec 2023 19:14:13 +0200 Subject: [PATCH] fix linter --- auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth.go b/auth.go index 9b8f146..49c63af 100644 --- a/auth.go +++ b/auth.go @@ -390,9 +390,9 @@ func (v *Verifier) VerifyAuthResponse( // check if NullifierSessionID is set to opts if cfg.NullifierSessionID == nil { - nullifierSessionIdParam, ok := proofRequest.Params["nullifierSessionID"] + nullifierSessionIDParam, ok := proofRequest.Params["nullifierSessionID"] if ok { - nullifierSessionID, ok := new(big.Int).SetString(fmt.Sprintf("%v", nullifierSessionIdParam), 10) + nullifierSessionID, ok := new(big.Int).SetString(fmt.Sprintf("%v", nullifierSessionIDParam), 10) if !ok { return errors.Errorf("verifier session id is not valid big int %s", nullifierSessionID.String()) }