Incomplete shares bugfix

If shares are incomplete, clear the credentials and restart
This commit is contained in:
tripathyr 2021-12-29 16:10:36 +05:30 committed by GitHub
parent 77b0ba7440
commit 02b9926d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9111,7 +9111,7 @@
resolve(secret)
else
reject("Shares are insufficient or incorrect")
}).catch(error => reject(error))
}).catch(error => {floDapps.clearCredentials();location.reload();})
})
}
@ -9458,7 +9458,7 @@
resolve(secret)
else
reject("Shares are insufficient or incorrect")
}).catch(error => reject(error))
}).catch(error => {floDapps.clearCredentials();location.reload();})
})
}
return new Promise((resolve, reject) => {