WIN-2308041133\Administrator 6 months ago
parent
commit
54d98c326d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      vendor/fenguoz/tron-php/src/TRC20.php

+ 3 - 2
vendor/fenguoz/tron-php/src/TRC20.php

@@ -71,14 +71,15 @@ class TRC20 extends TRX
         if (isset($body['result']['code'])) {
             throw new TransactionException(hex2bin($body['result']['message']));
         }
-
+        var_dump($body['transaction']);
+        var_dump($tradeobj);
         try {
             $tradeobj = $this->tron->signTransaction($body['transaction']);
             $response = $this->tron->sendRawTransaction($tradeobj);
         } catch (TronException $e) {
             throw new TransactionException($e->getMessage(), $e->getCode());
         }
-
+        var_dump($response);die();
         if (isset($response['result']) && $response['result'] == true) {
             return new Transaction(
                 $body['transaction']['txID'],