Incomplete shares bugfix
If shares are incomplete, clear the credentials and restart
This commit is contained in:
parent
77b0ba7440
commit
02b9926d2e
@ -9111,7 +9111,7 @@
|
|||||||
resolve(secret)
|
resolve(secret)
|
||||||
else
|
else
|
||||||
reject("Shares are insufficient or incorrect")
|
reject("Shares are insufficient or incorrect")
|
||||||
}).catch(error => reject(error))
|
}).catch(error => {floDapps.clearCredentials();location.reload();})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9458,7 +9458,7 @@
|
|||||||
resolve(secret)
|
resolve(secret)
|
||||||
else
|
else
|
||||||
reject("Shares are insufficient or incorrect")
|
reject("Shares are insufficient or incorrect")
|
||||||
}).catch(error => reject(error))
|
}).catch(error => {floDapps.clearCredentials();location.reload();})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user