File tree Expand file tree Collapse file tree
aries_cloudagent/protocols/present_proof Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ class Meta:
837837 fmt = fields .Str (
838838 description = "Format" ,
839839 required = False ,
840- default = "ldp_vp " ,
840+ default = "ldp_vc " ,
841841 data_key = "format" ,
842842 )
843843 path = fields .Str (
Original file line number Diff line number Diff line change @@ -1356,7 +1356,7 @@ async def merge(
13561356 if f"{ cred_id } -{ cred_id } " not in dict_of_descriptors :
13571357 descriptor_map = InputDescriptorMapping (
13581358 id = desc_id ,
1359- fmt = "ldp_vp " ,
1359+ fmt = "ldp_vc " ,
13601360 path = (f"$.verifiableCredential[{ dict_of_creds [cred_id ]} ]" ),
13611361 )
13621362 descriptors .append (descriptor_map )
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ def test_verifiable_presentation_wrapper(self):
363363 "descriptor_map" : [
364364 {
365365 "id" : "citizenship_input_1" ,
366- "format" : "ldp_vp " ,
366+ "format" : "ldp_vc " ,
367367 "path" : "$.verifiableCredential[0]" ,
368368 }
369369 ],
Original file line number Diff line number Diff line change 199199 "descriptor_map" : [
200200 {
201201 "id" : "citizenship_input_1" ,
202- "format" : "ldp_vp " ,
202+ "format" : "ldp_vc " ,
203203 "path" : "$.verifiableCredential[0]" ,
204204 }
205205 ],
You can’t perform that action at this time.
0 commit comments