Skip to content

Commit

Permalink
Merge pull request ccxt#6282 from brandsimon/sbr/safe_value
Browse files Browse the repository at this point in the history
Stex: Fix safe_* accessors
  • Loading branch information
kroitor authored Dec 17, 2019
2 parents 620bfdd + 68e06b0 commit 5f1903b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/stex.js
Original file line number Diff line number Diff line change
Expand Up @@ -1512,9 +1512,9 @@ module.exports = class stex extends Exchange {
code = currency['code'];
}
const type = ('depositId' in transaction) ? 'deposit' : 'withdrawal';
const amount = this.safeFloat2 (transaction, 'amount');
const amount = this.safeFloat (transaction, 'amount');
const status = this.parseTransactionStatus (this.safeStringLower (transaction, 'status'));
const timestamp = this.safeTimestamp (transaction, 'timestamp', 'created_ts');
const timestamp = this.safeTimestamp2 (transaction, 'timestamp', 'created_ts');
const updated = this.safeTimestamp (transaction, 'updated_ts');
const txid = this.safeString (transaction, 'txid');
let fee = undefined;
Expand Down

0 comments on commit 5f1903b

Please sign in to comment.