From 4994e51466644e72ea8e117068699001b3d8a499 Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Thu, 30 May 2024 11:54:43 +0000 Subject: [PATCH] Verifier NETCETRA : wallet fails #2673 --- .../view/selective_disclosure_pick_page.dart | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/dashboard/home/tab_bar/credentials/present/pick/selective_disclosure/view/selective_disclosure_pick_page.dart b/lib/dashboard/home/tab_bar/credentials/present/pick/selective_disclosure/view/selective_disclosure_pick_page.dart index e738ebf3d..10c001684 100644 --- a/lib/dashboard/home/tab_bar/credentials/present/pick/selective_disclosure/view/selective_disclosure_pick_page.dart +++ b/lib/dashboard/home/tab_bar/credentials/present/pick/selective_disclosure/view/selective_disclosure_pick_page.dart @@ -224,16 +224,8 @@ class _SelectiveDisclosurePickViewState if (encryptedValues != null) { var newJwt = '${encryptedValues[0]}~'; - // encryptedValues.removeAt(0); - - final organizedDisclosure = selectiveDisclosure - .disclosureToContent.entries - .toList() - .map((element) => element.key) - .toList(); - for (final index in selectedSDIndexInJWT) { - newJwt = '$newJwt${organizedDisclosure[index]}~'; + newJwt = '$newJwt${encryptedValues[index + 1]}~'; } // Key Binding JWT