andelf / tronpy

TRON Python Client Library.
MIT License
204 stars 96 forks source link

The get_bandwidth has wrong address format #95

Closed nulldot0 closed 1 year ago

nulldot0 commented 1 year ago

Hello,

version: 0.4.0

Recently just used this library and I was getting an error, on the get_bandwidth method the address should be converted to hex instead of base58 address.

Current Code: image The response I get: image

Code I made: image Response I get: image

MrNaif2018 commented 1 year ago

Hmm weird really. I wonder if it was always like so. Could you try running the code this function does, but adding one extra parameter to the dict, "visible": True?

nulldot0 commented 1 year ago

Code: image

Output: image

It returns an empty dict

nulldot0 commented 1 year ago

Thanks