From 4a1bc265d294bfcb92fee2e40b72b3ba2dde2217 Mon Sep 17 00:00:00 2001 From: sanderPostma Date: Mon, 30 Sep 2024 23:04:07 +0200 Subject: [PATCH] chore: fix to get multi-vp working --- lib/evaluation/evaluationClientWrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/evaluation/evaluationClientWrapper.ts b/lib/evaluation/evaluationClientWrapper.ts index b8541008..01830876 100644 --- a/lib/evaluation/evaluationClientWrapper.ts +++ b/lib/evaluation/evaluationClientWrapper.ts @@ -621,7 +621,7 @@ export class EvaluationClientWrapper { if (presentationSubmissionLocation === PresentationSubmissionLocation.EXTERNAL) { if (descriptor.path_nested) { - const extractionResult = this.extractWrappedVcFromWrappedVp(descriptor, descriptorIndex.toString(), vp); + const extractionResult = this.extractWrappedVcFromWrappedVp(descriptor.path_nested, descriptorIndex.toString(), vp); if (extractionResult.error) { result.areRequiredCredentialsPresent = Status.ERROR; result.errors?.push(extractionResult.error);