From 68e06b02f28b233f983d8b77a378965fe18b732c Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Tue, 17 Dec 2019 02:14:50 +0000 Subject: [PATCH] Stex: Fix safe_* accessors --- js/stex.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/stex.js b/js/stex.js index d88d275423d2..1e5c7b189136 100644 --- a/js/stex.js +++ b/js/stex.js @@ -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;