Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Jan 13, 2018
1 parent b86caeb commit 1878375
Show file tree
Hide file tree
Showing 9 changed files with 602 additions and 48 deletions.
7 changes: 4 additions & 3 deletions src/Exchange.php
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.10.671';
$version = '1.10.677';

abstract class Exchange {

Expand All @@ -40,6 +40,7 @@ abstract class Exchange {
'acx',
'allcoin',
'anxpro',
'bibox',
'binance',
'bit2c',
'bitbay',
Expand Down Expand Up @@ -878,7 +879,7 @@ function ($curl, $header) use (&$response_headers) {
)) . ')';

$this->raise_error ('AuthenticationError', $url, $method, $http_status_code,
'check your API keys', $details);
$this->last_http_response, $details);
}

if (in_array ($http_status_code, array (400, 403, 405, 503, 520, 521, 522, 525, 530))) {
Expand All @@ -900,7 +901,7 @@ function ($curl, $header) use (&$response_headers) {
)) . ')';

$this->raise_error ('ExchangeNotAvailable', $url, $method, $http_status_code,
'not accessible from this location at the moment', $details);
$this->last_http_response, $details);
}
}

Expand Down

0 comments on commit 1878375

Please sign in to comment.