Skip to content

Commit

Permalink
Fix passing documentLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-smith committed Feb 8, 2024
1 parent 1907aae commit 1e1dc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function _createSignData({cryptosuite, document, proof, documentLoader}) {
const proofHash = await hashCanonizedProof({document, proof, options});

// canonize and hash document
const docCanon = await canonize(document);
const docCanon = await canonize(document, options);
const docHash = await hasher.hash(stringToUtf8Bytes(docCanon));

// current order of hashing: proof hash + document hash + external hash
Expand Down

0 comments on commit 1e1dc28

Please sign in to comment.