Skip to content

Commit

Permalink
hitbtc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Dec 6, 2017
1 parent 757691a commit 0f237db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/hitbtc2.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ module.exports = class hitbtc2 extends hitbtc {
let payout = currency['payoutEnabled'];
let transfer = currency['transferEnabled'];
let active = payin && payout && transfer;
let status = (currency['disabled']) ? 'disabled' : 'ok';
let status = 'ok';
if ('disabled' in currency)
if (currency['disabled'])
status = 'disabled';
let type = (currency['crypto']) ? 'crypto' : 'fiat';
result[code] = {
'id': id,
Expand Down

0 comments on commit 0f237db

Please sign in to comment.