From 93ccff03a4bf3b45eef7fda359a7f6c05893ce4d Mon Sep 17 00:00:00 2001 From: jamshale Date: Thu, 19 Dec 2024 18:02:00 +0000 Subject: [PATCH] Remove redeclared variable Signed-off-by: jamshale --- .../protocols/present_proof/v2_0/formats/anoncreds/handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/handler.py b/acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/handler.py index 615144f3e0..19b3264687 100644 --- a/acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/handler.py +++ b/acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/handler.py @@ -303,7 +303,6 @@ async def _check_proof_vs_proposal(): f"Proposed request predicate on {req_name} not in presentation" ) - sub_proof_index = attr_spec["sub_proof_index"] schema_id = proof["identifiers"][sub_proof_index]["schema_id"] cred_def_id = proof["identifiers"][sub_proof_index]["cred_def_id"] registry = self.profile.inject(AnonCredsRegistry)