From f34ad3daf16cc124d74964d42a49ac3441b22eb2 Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 7 Mar 2024 13:29:32 +0100 Subject: [PATCH] fix: correctly detect all altcoin names in check-bitcoin-only The -d multi-select picks only coins that are available on _all_ models. Besides, it's more correct to check even for unsupported altcoins. --- tools/check-bitcoin-only | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-bitcoin-only b/tools/check-bitcoin-only index 5944153b55..78214340b6 100755 --- a/tools/check-bitcoin-only +++ b/tools/check-bitcoin-only @@ -16,7 +16,7 @@ for exception in "${EXCEPTIONS[@]}"; do done # dump all coins except the first 3 (Bitcoin, Testnet, Regtest), exclude names with less than 4 characters -ALTCOINS=$(./common/tools/cointool.py dump -l -p -t -d T1B1 -d T2T1 -d T2B1 | grep '"name"' | cut -d '"' -f 4 | tail -n +4 | awk 'length($0)>3') +ALTCOINS=$(./common/tools/cointool.py dump -l -p -t | grep '"name"' | cut -d '"' -f 4 | tail -n +4 | awk 'length($0)>3') # split on newlines only OLDIFS=$IFS IFS="