Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download not working #5

Open
bschi opened this issue Apr 17, 2021 · 1 comment
Open

Download not working #5

bschi opened this issue Apr 17, 2021 · 1 comment

Comments

@bschi
Copy link

bschi commented Apr 17, 2021

Hi,

I get an error. The download is not working for me. Is it possible to fix the error?

TypeError: Cannot read property 'block_timestamp' of null
at downloadAllTransactions (C:\download\index.js:58:35)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async main (C:\download\index.js:343:17)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Thanks and best regards!

@ColonelJ
Copy link
Owner

Hi @bschi this should be fixed in the latest version. Again, it was a problem with TronGrid APIs, sometimes it erroneously returns null objects inside the response data. The new code now retries the request to TronGrid if this is detected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants