Skip to content

Commit 70afb03

Browse files
authored
Fix key sanity check by r3bers
2 parents e16198b + 4cca467 commit 70afb03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php-binance-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private function setupApiConfigFromFile(string $file = null)
124124
{
125125
$file = is_null($file) ? getenv("HOME") . "/.config/jaggedsoft/php-binance-api.json" : $file;
126126

127-
if (empty($this->api_key) === false || empty($this->api_key) === false) {
127+
if (empty($this->api_key) === false || empty($this->api_secret) === false) {
128128
return;
129129
}
130130
if (file_exists($file) === false) {

0 commit comments

Comments
 (0)