removed faulty else, was left prior by accident.

This commit is contained in:
Sotisi 2019-05-13 14:09:20 +02:00 committed by danielyxie
parent 086fc67ecc
commit 9f94d0838a

@ -68,9 +68,8 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
while (Math.sqrt(n) > fac-1) {
while (n % fac === 0) {
n = Math.round(n / fac);
} else {
++fac;
}
++fac;
}
return (n===1?(fac-1):n) === parseInt(ans, 10);