Skip to content

Commit

Permalink
Only set proof.@context if it is set on unsecuredDocument.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Aug 4, 2024
1 parent 4e3bb98 commit c728ae3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -840,11 +840,12 @@ <h4>Create Proof (eddsa-jcs-2022)</h4>

<ol class="algorithm">
<li>
Let |proof| be a clone of the proof options, |options|.
If <var>unsecuredDocument</var>.<var>@context</var> is present,
set <var>proof</var>.<var>@context</var> to
<var>unsecuredDocument</var>.<var>@context</var>.
</li>
<li>
Set <var>proof</var>.<var>@context</var> to
<var>unsecuredDocument</var>.<var>@context</var>.
Let |proof| be a clone of the proof options, |options|.
</li>
<li>
Let |proofConfig| be the result of running the algorithm in
Expand Down

0 comments on commit c728ae3

Please sign in to comment.