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 cf8f9d1 commit 7c91cb9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,8 @@ <h4>Create Proof (ecdsa-jcs-2019)</h4>

<ol class="algorithm">
<li>
Set <var>options</var>.<var>@context</var> to
If <var>unsecuredDocument</var>.<var>@context</var> is present, set
<var>options</var>.<var>@context</var> to
<var>unsecuredDocument</var>.<var>@context</var>.
</li>
<li>
Expand All @@ -977,10 +978,6 @@ <h4>Create Proof (ecdsa-jcs-2019)</h4>
|options| passed as parameters.
</li>
<li>
Set <var>proof</var>.<var>@context</var> to
<var>unsecuredDocument</var>.<var>@context</var>.
</li>
<li>
Let |proof|.|proofValue| be a <a data-cite="VC-DATA-INTEGRITY#multibase-0">
base58-btc-encoded Multibase value</a> of the |proofBytes|.
</li>
Expand Down

0 comments on commit 7c91cb9

Please sign in to comment.