Add ZEC to coinbase.js

This commit is contained in:
Neal Conner 2019-09-04 11:56:08 -04:00 committed by Josh Harvey
parent b11271f5cc
commit 96e0c0198d

View file

@ -28,7 +28,7 @@ function getSellPrice (obj) {
function ticker (account, fiatCode, cryptoCode) {
return Promise.resolve()
.then(() => {
if (!_.includes(cryptoCode, ['BTC', 'ETH', 'LTC', 'BCH'])) {
if (!_.includes(cryptoCode, ['BTC', 'ETH', 'LTC', 'BCH', 'ZEC'])) {
throw new Error('Unsupported crypto: ' + cryptoCode)
}
})