Skip to content

Commit

Permalink
Update timing of validation
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkchen committed Nov 15, 2023
1 parent 17ade85 commit 82e18b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/src/components/modals/VerificationStepRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const VerificationStepRow: React.FC<VerificationStepRowProps> = ({

return () => clearTimeout(timeout);
}

// eslint-disable-next-line react-hooks/exhaustive-deps
}, [progress]);

Expand All @@ -102,7 +102,7 @@ export const VerificationStepRow: React.FC<VerificationStepRowProps> = ({
case VerificationStepType.UPLOAD:
return 1000;
case VerificationStepType.PROVE:
return isProvingTypeFast ? 150000 : 660000;
return isProvingTypeFast ? 30000 : 660000;
default:
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/helpers/tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ export const PROOF_MODAL_PROVE_TITLE = `
`;

export const PROOF_MODAL_PROVE_SUBTITLE_PRIVATE = `
Private validation will take approximately 9 minutes
Private validation will take approximately 10 minutes
`;

export const PROOF_MODAL_PROVE_SUBTITLE_FAST = `
Fast validation will take approximately 2-3 minutes
Fast validation will take approximately 30 seconds
`;

export const PROOF_MODAL_VERIFY_TITLE = `
Expand Down

0 comments on commit 82e18b4

Please sign in to comment.