From 39ac3ba528ce1faf4704a5a493063288a860fa29 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Wed, 13 Dec 2023 21:55:19 +0530 Subject: [PATCH] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 45c6462..65444c4 100644 --- a/index.html +++ b/index.html @@ -966,12 +966,13 @@ // and not the hash of the link content latestHash = await getRepoHash('blockbook') knownHash = repoHash + hasValidHash = latestHash === knownHash } else { const [contentHash, latestRepoHash] = await Promise.all([ getLinkContentHash(linkToVerify), getRepoHash(dappInfo.appLink.split('/').pop()) ]) - latestHash = contentHash[linkToVerify] + latestHash = contentHash[0].hash knownHash = appHash hasValidHash = latestHash === knownHash && repoHash === latestRepoHash; if (!hasValidHash && repoHash !== latestRepoHash) {