Skip to content

Commit

Permalink
1.17.379
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Oct 13, 2018
1 parent 43b54b0 commit 0ed7f13
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 17 deletions.
8 changes: 5 additions & 3 deletions build/ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.17.378'
const version = '1.17.379'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -7209,8 +7209,10 @@ module.exports = class binance extends Exchange {
let id = this.safeString (transaction, 'id');
let address = this.safeString (transaction, 'address');
let tag = this.safeString (transaction, 'addressTag'); // set but unused
if ((tag !== undefined) && (tag.length < 1)) {
tag = undefined;
if (tag !== undefined) {
if (tag.length < 1) {
tag = undefined;
}
}
let txid = this.safeValue (transaction, 'txId');
let code = undefined;
Expand Down
2 changes: 1 addition & 1 deletion ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.17.378'
const version = '1.17.379'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.17.378",
"version": "1.17.379",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
4 changes: 2 additions & 2 deletions php/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
use kornrunner\Secp256k1;
use kornrunner\Solidity;

$version = '1.17.378';
$version = '1.17.379';

// rounding mode
const TRUNCATE = 0;
Expand All @@ -50,7 +50,7 @@

class Exchange {

const VERSION = '1.17.378';
const VERSION = '1.17.379';

public static $eth_units = array (
'wei' => '1',
Expand Down
6 changes: 4 additions & 2 deletions php/binance.php
Original file line number Diff line number Diff line change
Expand Up @@ -963,8 +963,10 @@ public function parse_transaction ($transaction, $currency = null) {
$id = $this->safe_string($transaction, 'id');
$address = $this->safe_string($transaction, 'address');
$tag = $this->safe_string($transaction, 'addressTag'); // set but unused
if (($tag !== null) && (strlen ($tag) < 1)) {
$tag = null;
if ($tag !== null) {
if (strlen ($tag) < 1) {
$tag = null;
}
}
$txid = $this->safe_value($transaction, 'txId');
$code = null;
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# ----------------------------------------------------------------------------

__version__ = '1.17.378'
__version__ = '1.17.379'

# ----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.17.378'
__version__ = '1.17.379'

# -----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.17.378'
__version__ = '1.17.379'

# -----------------------------------------------------------------------------

Expand Down
5 changes: 3 additions & 2 deletions python/ccxt/async_support/binance.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,9 @@ def parse_transaction(self, transaction, currency=None):
id = self.safe_string(transaction, 'id')
address = self.safe_string(transaction, 'address')
tag = self.safe_string(transaction, 'addressTag') # set but unused
if (tag is not None) and len((tag) < 1):
tag = None
if tag is not None:
if len(tag) < 1:
tag = None
txid = self.safe_value(transaction, 'txId')
code = None
currencyId = self.safe_string(transaction, 'asset')
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.17.378'
__version__ = '1.17.379'

# -----------------------------------------------------------------------------

Expand Down
5 changes: 3 additions & 2 deletions python/ccxt/binance.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,9 @@ def parse_transaction(self, transaction, currency=None):
id = self.safe_string(transaction, 'id')
address = self.safe_string(transaction, 'address')
tag = self.safe_string(transaction, 'addressTag') # set but unused
if (tag is not None) and len((tag) < 1):
tag = None
if tag is not None:
if len(tag) < 1:
tag = None
txid = self.safe_value(transaction, 'txId')
code = None
currencyId = self.safe_string(transaction, 'asset')
Expand Down

0 comments on commit 0ed7f13

Please sign in to comment.