diff --git a/src/Action/Init.php b/src/Action/Init.php index b25a932..512a6a9 100644 --- a/src/Action/Init.php +++ b/src/Action/Init.php @@ -156,8 +156,7 @@ class Init { $signStr = $this->getSignString(); $private_key = $this->getPrivate(); - - $privKeyId = openssl_get_privatekey($private_key); + $privKeyId = openssl_get_privatekey($private_key); if (!$privKeyId) { throw new \Exception('私钥格式有误');