Parcourir la source

Weenier 168otc项目部署 0630

wesmiler il y a 3 ans
Parent
commit
6112f50cfc
1 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 6 6
      app/Services/UsdtWalletService.php

+ 6 - 6
app/Services/UsdtWalletService.php

@@ -81,7 +81,7 @@ class UsdtWalletService extends BaseService
      */
     public function getTrxAddress()
     {
-       try {
+       //try {
            $api = new Api(new Client(['base_uri' => $this->config['tron_api_url']]));
 
            $trxWallet = new TRX($api);
@@ -89,11 +89,11 @@ class UsdtWalletService extends BaseService
            $addressData = (array)$addressData;
            return ['wif' => $addressData['privateKey'], 'hexAddress' => $addressData['hexAddress'], 'address' => $addressData['address']];
 
-       } catch (\Exception $exception){
-           var_dump($exception);
-           $this->error = $exception->getMessage();
-           return false;
-       }
+//       } catch (\Exception $exception){
+//
+//           $this->error = $exception->getMessage();
+//           return false;
+//       }
     }
 
     /**