From 7e56965b3a82a92bb2fe4ca6071bab2e80e54ec2 Mon Sep 17 00:00:00 2001 From: zhouaini528 <465382251@qq.com> Date: Thu, 21 Dec 2023 14:12:12 +0800 Subject: [PATCH] empty host --- src/Exchanges/Gate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exchanges/Gate.php b/src/Exchanges/Gate.php index 72003e9..72008ab 100644 --- a/src/Exchanges/Gate.php +++ b/src/Exchanges/Gate.php @@ -133,7 +133,7 @@ class Gate function __construct($key,$secret,$host){ $this->key=$key; $this->secret=$secret; - $this->host=empty($host) ? 'https://api.gateio.ws' : ''; + $this->host=empty($host) ? 'https://api.gateio.ws' : $host; } function account(){