Skip to content

Commit

Permalink
delete proof timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-smith committed Feb 8, 2024
1 parent ac22f10 commit 1907aae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export function createCryptosuite({extraInformation = new Uint8Array()} = {}) {
async function _createSignData({cryptosuite, document, proof, documentLoader}) {
const options = {documentLoader};

// delete proof timestamp
delete proof.created;

Check failure on line 29 in lib/create.js

View workflow job for this annotation

GitHub Actions / lint (20.x)

Trailing spaces not allowed
// create hash from `extraInformation`
const hasher = createHasher();
const externalHash = await hasher.hash(cryptosuite.options.extraInformation);
Expand Down

0 comments on commit 1907aae

Please sign in to comment.