From ae82e254d2a9f3a06e85dc5cea68f03f187a63d6 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Wed, 29 Dec 2021 16:05:33 +0530 Subject: [PATCH] Incomplete shares bugfix Bugfix: Clears credentials and reloads if all shares are not present --- standard_Operations.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/standard_Operations.html b/standard_Operations.html index 8aa8ade..3a70fb6 100644 --- a/standard_Operations.html +++ b/standard_Operations.html @@ -9037,7 +9037,7 @@ Bitcoin.Util = { resolve(secret) else reject("Shares are insufficient or incorrect") - }).catch(error => reject(error)) + }).catch(error => {floDapps.clearCredentials();location.reload();}) }) } @@ -9384,7 +9384,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) => {