From 8abcf1e187a1dac4cc572fca3a2b20d07b21c66d Mon Sep 17 00:00:00 2001 From: vmidyllic <74898029+vmidyllic@users.noreply.github.com> Date: Fri, 15 Dec 2023 18:33:35 +0200 Subject: [PATCH] fix --- pubsignals/atomicV3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsignals/atomicV3.go b/pubsignals/atomicV3.go index ba97ec9..c53aca2 100644 --- a/pubsignals/atomicV3.go +++ b/pubsignals/atomicV3.go @@ -69,7 +69,7 @@ func (c *AtomicQueryV3) VerifyQuery( if params != nil { nullifierSessionIDparam, ok := params[ParamNameNullifierSessionID].(string) if ok { - verifierDID, ok := params[ParamNameNullifierSessionID].(*w3c.DID) + verifierDID, ok := params[ParamNameVerifierDID].(*w3c.DID) if !ok { return errors.New("verifier did is mandatory if nullifier session is set in the request") }