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

+ 1 - 1
vendor/fenguoz/tron-php/src/TRC20.php

@@ -27,7 +27,7 @@ class TRC20 extends TRX
 
     public function balance(Address $address)
     {
-        $hexAddress = substr($address->address, 2);
+        $hexAddress = substr($address->hexAddress, 2);
         var_dump($hexAddress);
         $format = Formatter::toAddressFormat($hexAddress);