From 6197781a623191192dcc7536c91b12c05fcd2f98 Mon Sep 17 00:00:00 2001 From: Antoni Spaanderman <56turtle56@gmail.com> Date: Sun, 16 Jun 2024 20:34:21 +0200 Subject: [PATCH] fix error message --- miner.js | 2 +- miner.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/miner.js b/miner.js index dfc86f4..75bd365 100644 --- a/miner.js +++ b/miner.js @@ -51,7 +51,7 @@ if (args.length > 0) { process.exit(0); } if (!blocks || blocks < -1) { - console.log('Provide a positive integer or -1 for block limit'); + console.log('Provide a positive integer or -1 for no block limit'); process.exit(1); } } diff --git a/miner.ts b/miner.ts index 13d5066..14fb8ae 100644 --- a/miner.ts +++ b/miner.ts @@ -48,7 +48,7 @@ if (args.length > 0) { process.exit(0); } if (!blocks || blocks < -1) { - console.log('Provide a positive integer or -1 for block limit'); + console.log('Provide a positive integer or -1 for no block limit'); process.exit(1); } }