diff --git a/javascript/src/utilities/secrets.js b/javascript/src/utilities/secrets.js index 8c11a401586678690b279e154c1164f1751d36e6..2223ae6533e57d2573b3a473e94f0c7e8287adfd 100644 --- a/javascript/src/utilities/secrets.js +++ b/javascript/src/utilities/secrets.js @@ -72,7 +72,7 @@ export const checkRecoveryKeyCombine = (recoveryKey, recoveryKeyShares) => { const { beginIndex, endIndex } = getSecretSliceRange( recoveryKeyShares.length + 1 ); - console.log({ beginIndex, endIndex }); + checkKey = combineSecret(recoveryKeyShares.slice(beginIndex, endIndex)); if (checkKey !== recoveryKey) { return encodeResponse(