fix: disable zcashd installation

This commit is contained in:
Neal 2023-06-14 08:57:43 -04:00
parent e357adf156
commit 1ef40693f2

View file

@ -148,7 +148,7 @@ function isDisabled (crypto) {
case 'ETH': case 'ETH':
return 'Use admin\'s Infura plugin' return 'Use admin\'s Infura plugin'
case 'ZEC': case 'ZEC':
return isInstalled(crypto) && 'Installed' || isInstalled(_.find(it => it.code === 'monero', cryptos)) && 'Insufficient resources. Contact support.' return 'Use admin\'s BitGo plugin'
case 'XMR': case 'XMR':
return isInstalled(crypto) && 'Installed' || isInstalled(_.find(it => it.code === 'zcash', cryptos)) && 'Insufficient resources. Contact support.' return isInstalled(crypto) && 'Installed' || isInstalled(_.find(it => it.code === 'zcash', cryptos)) && 'Insufficient resources. Contact support.'
default: default: