Skip to content
Snippets Groups Projects
Commit f5548cb6 authored by Sasha Ilieva's avatar Sasha Ilieva
Browse files

Remove debug

parent 6a05e6d6
No related branches found
No related tags found
1 merge request!88908 account recovery ability to add contacts to trusted contacts list for account recovery
...@@ -72,7 +72,7 @@ export const checkRecoveryKeyCombine = (recoveryKey, recoveryKeyShares) => { ...@@ -72,7 +72,7 @@ export const checkRecoveryKeyCombine = (recoveryKey, recoveryKeyShares) => {
const { beginIndex, endIndex } = getSecretSliceRange( const { beginIndex, endIndex } = getSecretSliceRange(
recoveryKeyShares.length + 1 recoveryKeyShares.length + 1
); );
console.log({ beginIndex, endIndex });
checkKey = combineSecret(recoveryKeyShares.slice(beginIndex, endIndex)); checkKey = combineSecret(recoveryKeyShares.slice(beginIndex, endIndex));
if (checkKey !== recoveryKey) { if (checkKey !== recoveryKey) {
return encodeResponse( return encodeResponse(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment