From 9266d29955d6a95791e406ecbc822c03d8eddb2b Mon Sep 17 00:00:00 2001 From: yerofey Date: Sun, 4 Feb 2024 14:04:49 +0100 Subject: [PATCH] Fix suggestion message display --- package.json | 2 +- src/Wallet.js | 4 ++-- src/chains/TON.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f14b8a3..307b322 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yerofey/cryptowallet-cli", - "version": "1.23.0", + "version": "1.23.1", "description": "Crypto wallet generator CLI tool", "type": "module", "homepage": "https://github.com/yerofey/cryptowallet-cli", diff --git a/src/Wallet.js b/src/Wallet.js index 72d017b..406f553 100644 --- a/src/Wallet.js +++ b/src/Wallet.js @@ -93,8 +93,8 @@ class Wallet { (options.suffix && row.flags.includes('s')) ) { if (badSymbolsArray.length === 0) { - // suggest to generate multiple wallets - if (!options.number || options.number == 1) { + // suggest to generate multiple wallets addresses (if it is supported by the settings) + if (row.flags.includes('n') && (!options.number || options.number == 1)) { log( yellow( '💡 You can speed up the process significantly by generating multiple addresses for each wallet. Example: cw -n 10' diff --git a/src/chains/TON.json b/src/chains/TON.json index dfaf9f7..efe4baf 100644 --- a/src/chains/TON.json +++ b/src/chains/TON.json @@ -9,7 +9,7 @@ "prefixTest": "[0-9a-zA-Z-_]", "rareSymbols": "[0-9]", "apps": ["tonkeeper", "trustwallet"], - "flags": ["m", "n", "p", "s"] + "flags": ["m", "p", "s"] } } }