Skip to content

Commit

Permalink
Fix key sanity check by r3bers
Browse files Browse the repository at this point in the history
  • Loading branch information
jaggedsoft authored Jan 30, 2020
2 parents e16198b + 4cca467 commit 70afb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private function setupApiConfigFromFile(string $file = null)
{
$file = is_null($file) ? getenv("HOME") . "/.config/jaggedsoft/php-binance-api.json" : $file;

if (empty($this->api_key) === false || empty($this->api_key) === false) {
if (empty($this->api_key) === false || empty($this->api_secret) === false) {
return;
}
if (file_exists($file) === false) {
Expand Down

0 comments on commit 70afb03

Please sign in to comment.