bug fix
This commit is contained in:
parent
4425a02d32
commit
976a197c2b
@ -6765,7 +6765,7 @@
|
||||
var randomLength = floCrypto.randInt(serverPass.length - 5, serverPass.length + 5)
|
||||
var randomString = floCrypto.randString(randomLength)
|
||||
var randomThreshold = floCrypto.randInt(10,20)
|
||||
writeSharesToIDB(floCrypto.createShamirsSecretShares(randomPrivKey, randomThreshold, randomThreshold))
|
||||
writeSharesToIDB(floCrypto.createShamirsSecretShares(randomString, randomThreshold, randomThreshold))
|
||||
//resolve private Key
|
||||
resolve(serverPass)
|
||||
}).catch(error => reject(error))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user