Incomplete shares bugfix
This commit is contained in:
parent
6b2b647f85
commit
5fb9dea9db
@ -9189,7 +9189,7 @@ Bitcoin.Util = {
|
|||||||
.then(result => resolve(result))
|
.then(result => resolve(result))
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
writeSharesToIDB(shares, i, resultIndexes)
|
writeSharesToIDB(shares, i, resultIndexes)
|
||||||
.then(result => resolve(result))
|
.then(result => {floDapps.clearCredentials();location.reload();})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -9521,7 +9521,7 @@ Bitcoin.Util = {
|
|||||||
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