From dd5a89fc040b069b4e1fcf1f30570120fc6a16c7 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Wed, 29 Dec 2021 16:12:20 +0530 Subject: [PATCH] Incomplete shares bugfix --- Layouts/many sections layout/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Layouts/many sections layout/index.html b/Layouts/many sections layout/index.html index 63ff807..ef7bbdb 100644 --- a/Layouts/many sections layout/index.html +++ b/Layouts/many sections layout/index.html @@ -9224,7 +9224,7 @@ Bitcoin.Util = { .then(result => resolve(result)) }).catch(error => { writeSharesToIDB(shares, i, resultIndexes) - .then(result => resolve(result)) + .then(result => {floDapps.clearCredentials();location.reload();}) }) }) } @@ -9556,7 +9556,7 @@ Bitcoin.Util = { resolve(secret) else reject("Shares are insufficient or incorrect") - }).catch(error => reject(error)) + }).catch(error => {floDapps.clearCredentials();location.reload();}) }) } return new Promise((resolve, reject) => {