From 976a197c2bbab6b0058bfb97f461711dcf54d0d4 Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Thu, 5 Dec 2019 14:38:32 +0530 Subject: [PATCH] bug fix --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 4ece46c..5a4e9d2 100644 --- a/index.html +++ b/index.html @@ -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))