Incomplete shares bugfix
This commit is contained in:
parent
dd5a89fc04
commit
6b2b647f85
@ -9131,7 +9131,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();})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -9463,7 +9463,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