Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
macterra committed Dec 17, 2024
1 parent 352e365 commit 4ac4bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/hypr-confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ async function runTest() {
const doc1 = await keymaster.resolveDID(asset);
console.log(JSON.stringify(doc1, null, 4));

const ok = await keymaster.updateAsset(asset, { version: 2 });
await keymaster.updateAsset(asset, { version: 2 });
let doc2 = await keymaster.resolveDID(asset);
console.log(JSON.stringify(doc2, null, 4));

while (doc2.didDocumentMetadata.confirmed == false) {
while (doc2.didDocumentMetadata.confirmed === false) {
// wait for 1 second before checking again
await new Promise(resolve => setTimeout(resolve, 1000));

Expand Down

0 comments on commit 4ac4bee

Please sign in to comment.