-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Getting last block fails #100
Comments
if (!this.connex.thor.status.head.number) {
await this.connex.thor.ticker().next()
}
const lastBlock = await this.connex.thor.block().get() add lines to check the head number should work |
Have you considered including that check in the |
|
If you do not provide any argument to the |
You're right. I'll look into the code. Can you provides some context of your code piece? |
I am basically scanning blocks and once in a while |
Hi all,
When using:
ocassionaly I get genesis block (height = 0).
Do you know what might be wrong.
The text was updated successfully, but these errors were encountered: