Skip to content

Commit

Permalink
binance set host default
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Oct 15, 2021
1 parent aecf2d2 commit cce75c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exchanges/Binance.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class BaseBinance
function __construct($key,$secret,$host=''){
$this->key=$key;
$this->secret=$secret;
$this->host=$host;
$this->host=empty($host)?'https://api.binance.com':$host;
}

protected function checkType(){
Expand Down

0 comments on commit cce75c5

Please sign in to comment.