andelf / tronpy

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

Can't made a transaction #41

Closed Furim closed 2 years ago

Furim commented 2 years ago

File "/usr/local/lib/python3.9/dist-packages/tronpy/tron.py", line 153, in broadcast return TransactionRet(self._client.broadcast(self), client=self._client, method=self._method) File "/usr/local/lib/python3.9/dist-packages/tronpy/tron.py", line 826, in broadcast self._handle_api_error(payload) File "/usr/local/lib/python3.9/dist-packages/tronpy/tron.py", line 474, in _handle_api_error raise UnknownError(msg, payload["code"]) tronpy.exceptions.UnknownError: ('Error: Index: 0', 'OTHER_ERROR')

Furim commented 2 years ago

nevermind, i can close the issue

my issue was: trying to send multiplied float instead of pure integer