From 96e0c0198d775f1952b2d7513f92545ae0621898 Mon Sep 17 00:00:00 2001 From: Neal Conner Date: Wed, 4 Sep 2019 11:56:08 -0400 Subject: [PATCH] Add ZEC to coinbase.js --- 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 afd4e107..33309be7 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'])) { + if (!_.includes(cryptoCode, ['BTC', 'ETH', 'LTC', 'BCH', 'ZEC'])) { throw new Error('Unsupported crypto: ' + cryptoCode) } })