Skip to content

Commit

Permalink
fix: Use standard document loader for verifying proof values.
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Sabadello <markus@danubetech.com>
  • Loading branch information
peacekeeper committed Mar 5, 2021
1 parent da2ea20 commit b341de2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public boolean verify(JsonLDObject jsonLdObject, LdProof ldProof) throws IOExcep
.defaultContexts(true)
.base(ldProof)
.build();
jsonLdObjectProofOptions.setDocumentLoader(jsonLdObject.getDocumentLoader());
LdProof.removeLdProofValues(jsonLdObjectProofOptions);
String normalizedProofOptions = jsonLdObjectProofOptions.normalize("urdna2015");

Expand Down

0 comments on commit b341de2

Please sign in to comment.