Skip to content

Commit

Permalink
Fix suggestion message display
Browse files Browse the repository at this point in the history
  • Loading branch information
yerofey committed Feb 4, 2024
1 parent a544fd7 commit 9266d29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/Wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/chains/TON.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"prefixTest": "[0-9a-zA-Z-_]",
"rareSymbols": "[0-9]",
"apps": ["tonkeeper", "trustwallet"],
"flags": ["m", "n", "p", "s"]
"flags": ["m", "p", "s"]
}
}
}

0 comments on commit 9266d29

Please sign in to comment.