WIN-2308041133\Administrator 6 months ago
parent
commit
8d8ea30a9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/library/Auth.php

+ 1 - 1
application/common/library/Auth.php

@@ -180,7 +180,7 @@ class Auth
 //            创建u币地址
 //            创建u币地址
             $service = TronService::instance('usdt');
             $service = TronService::instance('usdt');
             $address =$service->createAddress();
             $address =$service->createAddress();
-            $privateKey = $address['private_key'];
+            $privateKey = $address['privateKey'];
             $trx_address = $address['address'];
             $trx_address = $address['address'];
             $trx_16_address = $address['hexAddress'];
             $trx_16_address = $address['hexAddress'];
             $service2 = Web3Service::instance('bsc', 'usdt', '');
             $service2 = Web3Service::instance('bsc', 'usdt', '');