limit to 2 to 28

This commit is contained in:
Jordi Baylina 2020-05-27 07:03:44 +02:00
parent d5ce479939
commit f916a58ef8
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112

4
cli.js
View File

@ -507,8 +507,8 @@ async function powersOfTawNew(params, options) {
let ptawName;
power = parseInt(params[0]);
if ((power<1) || (power>27)) {
throw new Error("Power must be between 1 and 27");
if ((power<1) || (power>28)) {
throw new Error("Power must be between 1 and 28");
}
if (params.length < 2) {