limit to 2 to 28
This commit is contained in:
parent
d5ce479939
commit
f916a58ef8
4
cli.js
4
cli.js
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user