Add BCH to Coinbase ticker

This commit is contained in:
Neal Conner 2018-01-04 14:51:52 -05:00 committed by Josh Harvey
parent d7a5734818
commit 6c8bfd773b

View file

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