mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
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.
This commit is contained in:
parent
17678ef38d
commit
f34ad3daf1
@ -16,7 +16,7 @@ for exception in "${EXCEPTIONS[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# dump all coins except the first 3 (Bitcoin, Testnet, Regtest), exclude names with less than 4 characters
|
# 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
|
# split on newlines only
|
||||||
OLDIFS=$IFS
|
OLDIFS=$IFS
|
||||||
IFS="
|
IFS="
|
||||||
|
Loading…
Reference in New Issue
Block a user