From c7dec82f38891550174b381235842705384bdbb3 Mon Sep 17 00:00:00 2001 From: naconner <7396812+naconner@users.noreply.github.com> Date: Mon, 11 Nov 2019 13:16:55 -0500 Subject: [PATCH] Add DASH 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 33309be7..772dfcf9 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', 'BCH', 'ZEC'])) { + if (!_.includes(cryptoCode, ['BTC', 'ETH', 'LTC', 'BCH', 'ZEC', 'DASH'])) { throw new Error('Unsupported crypto: ' + cryptoCode) } })