From 4ac4bee621968557f578900d0dc6cca79021ac9d Mon Sep 17 00:00:00 2001 From: David McFadzean Date: Tue, 17 Dec 2024 10:57:30 -0500 Subject: [PATCH] Fix lint errors --- tests/hypr-confirm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hypr-confirm.js b/tests/hypr-confirm.js index 15006311..961bb83e 100644 --- a/tests/hypr-confirm.js +++ b/tests/hypr-confirm.js @@ -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));