Skip to content

Commit

Permalink
Merge pull request #2013 from rmnre/fix/dif-claim-format-designation
Browse files Browse the repository at this point in the history
fix claim format designation in presentation submission
  • Loading branch information
swcurran authored Jan 20, 2023
2 parents 5c9ce16 + a276ee7 commit d97f71d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aries_cloudagent/protocols/present_proof/dif/pres_exch.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ class Meta:
fmt = fields.Str(
description="Format",
required=False,
default="ldp_vp",
default="ldp_vc",
data_key="format",
)
path = fields.Str(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ async def merge(
if f"{cred_id}-{cred_id}" not in dict_of_descriptors:
descriptor_map = InputDescriptorMapping(
id=desc_id,
fmt="ldp_vp",
fmt="ldp_vc",
path=(f"$.verifiableCredential[{dict_of_creds[cred_id]}]"),
)
descriptors.append(descriptor_map)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def test_verifiable_presentation_wrapper(self):
"descriptor_map": [
{
"id": "citizenship_input_1",
"format": "ldp_vp",
"format": "ldp_vc",
"path": "$.verifiableCredential[0]",
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
"descriptor_map": [
{
"id": "citizenship_input_1",
"format": "ldp_vp",
"format": "ldp_vc",
"path": "$.verifiableCredential[0]",
}
],
Expand Down

0 comments on commit d97f71d

Please sign in to comment.