This commit is contained in:
Sai Raj 2019-12-05 14:28:08 +05:30 committed by GitHub
parent 5f7737ea27
commit 4425a02d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6796,10 +6796,10 @@
compactIDB.addData("credentials", shares[i], n).then(res => {
resultIndexes.push(n)
writeSharesToIDB(shares, i+1, resultIndexes)
.then(result => resolve(resolve))
.then(result => resolve(result))
}).catch(error => {
writeSharesToIDB(shares, i, resultIndexes)
.then(result => resolve(resolve))
.then(result => resolve(result))
})
})
}