Skip to content

Commit

Permalink
liquid fetchCurrencies naming edit
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jan 13, 2022
1 parent ed7cb5c commit 570e3bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/liquid.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,18 +257,18 @@ module.exports = class liquid extends Exchange {
const id = this.safeString (currency, 'currency');
const code = this.safeCurrencyCode (id);
const name = this.safeString (currency, 'name');
const depositEnabled = this.safeValue (currency, 'depositable');
const withdrawEnabled = this.safeValue (currency, 'withdrawable');
const active = depositEnabled && withdrawEnabled;
const depositable = this.safeValue (currency, 'depositable');
const withdrawable = this.safeValue (currency, 'withdrawable');
const active = depositable && withdrawable;
const amountPrecision = this.safeInteger (currency, 'assets_precision');
result[code] = {
'id': id,
'code': code,
'info': currency,
'name': name,
'active': active,
'deposit': depositEnabled,
'withdraw': withdrawEnabled,
'deposit': depositable,
'withdraw': withdrawable,
'fee': this.safeNumber (currency, 'withdrawal_fee'),
'precision': amountPrecision,
'limits': {
Expand Down

0 comments on commit 570e3bb

Please sign in to comment.