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.
pull/3591/head
matejcik 2 months ago committed by matejcik
parent 17678ef38d
commit f34ad3daf1

@ -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="

Loading…
Cancel
Save