From 6c8bfd773b0159beea4731eeb55ce02d494f2980 Mon Sep 17 00:00:00 2001 From: Neal Conner Date: Thu, 4 Jan 2018 14:51:52 -0500 Subject: [PATCH] Add BCH to Coinbase ticker --- lib/plugins/ticker/coinbase/coinbase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/ticker/coinbase/coinbase.js b/lib/plugins/ticker/coinbase/coinbase.js index e96bd478..39feebb2 100644 --- a/lib/plugins/ticker/coinbase/coinbase.js +++ b/lib/plugins/ticker/coinbase/coinbase.js @@ -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) } })