Add ETH & BCH to Bitstamp ticker, exchange (#100)
* Add ETH & BCH to Bitstamp ticker, exchange * Add ETH & BCH to Bitstamp
This commit is contained in:
parent
c9120fa961
commit
a2d168644f
2 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ function authRequest (config, path, data) {
|
|||
}
|
||||
|
||||
function buildMarket (fiatCode, cryptoCode) {
|
||||
if (!_.includes(cryptoCode, ['BTC', 'LTC'])) {
|
||||
if (!_.includes(cryptoCode, ['BTC', 'ETH', 'LTC', 'BCH'])) {
|
||||
throw new Error('Unsupported crypto: ' + cryptoCode)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue