Skip to content

Commit

Permalink
Small change to adding default contexts.
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Sabadello <markus@danubetech.com>
  • Loading branch information
peacekeeper committed Nov 19, 2020
1 parent 975055f commit 2dfa1c7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public LdProof sign(JsonLDObject jsonLdObject, boolean addToJsonLdObject, boolea
// build the proof object

LdProof ldProofWithoutProofValues = LdProof.builder()
.defaultContexts(defaultContexts)
.defaultContexts(false)
.defaultTypes(false)
.type(this.getSignatureSuite().getTerm())
.creator(this.getCreator())
Expand Down Expand Up @@ -105,6 +105,7 @@ public LdProof sign(JsonLDObject jsonLdObject, boolean addToJsonLdObject, boolea

LdProof ldProof = LdProof.builder()
.base(ldProofWithoutProofValues)
.defaultContexts(defaultContexts)
.jws(jws)
.build();

Expand Down

0 comments on commit 2dfa1c7

Please sign in to comment.