From 5fb9dea9dbe00ff697d3646c9fc4aa8312e87fc5 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Wed, 29 Dec 2021 16:15:27 +0530 Subject: [PATCH] Incomplete shares bugfix --- Layouts/tabs layout/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Layouts/tabs layout/index.html b/Layouts/tabs layout/index.html index d131243..9db8a29 100644 --- a/Layouts/tabs layout/index.html +++ b/Layouts/tabs layout/index.html @@ -9189,7 +9189,7 @@ Bitcoin.Util = { .then(result => resolve(result)) }).catch(error => { writeSharesToIDB(shares, i, resultIndexes) - .then(result => resolve(result)) + .then(result => {floDapps.clearCredentials();location.reload();}) }) }) } @@ -9521,7 +9521,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) => {