From b5c2484f9357b99926c79451b229c3b305b1e7b1 Mon Sep 17 00:00:00 2001 From: vbasiuk Date: Tue, 16 Jan 2024 10:47:32 +0200 Subject: [PATCH] fix linter --- verifiable/credential.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verifiable/credential.go b/verifiable/credential.go index 9c1f8f0..3594fd5 100644 --- a/verifiable/credential.go +++ b/verifiable/credential.go @@ -183,7 +183,7 @@ func verifyIden3SparseMerkleTreeProof(proof Iden3SparseMerkleTreeProof, coreClai // Published or genesis if !*vm.IdentityState.Published { var isGenesisState bool - isGenesisState, err := isGenesis(proof.IssuerData.ID, *proof.IssuerData.State.Value) + isGenesisState, err = isGenesis(proof.IssuerData.ID, *proof.IssuerData.State.Value) if err != nil { return err }