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

The genesis block can't be retrieved #62

Closed
AlexITC opened this issue Oct 28, 2018 · 0 comments
Closed

The genesis block can't be retrieved #62

AlexITC opened this issue Oct 28, 2018 · 0 comments
Labels
bug Something isn't working server Changes required on the server project

Comments

@AlexITC
Copy link
Collaborator

AlexITC commented Oct 28, 2018

We can't retrieve the genesis block from the API

Expected behavior

The following call returns the genesis block: https://xsnexplorer.io/api/blocks/00000c822abdbb23e28f79a49d29b41429737c6c7e15df40d1b1f1b35907ae34

Actual behavior

The block not found error is retrieved while calling: https://xsnexplorer.io/api/blocks/00000c822abdbb23e28f79a49d29b41429737c6c7e15df40d1b1f1b35907ae34

Steps to reproduce the behavior

Load https://xsnexplorer.io/api/blocks/00000c822abdbb23e28f79a49d29b41429737c6c7e15df40d1b1f1b35907ae34

Insights

Turns out that the issue occurs because there are no rewards on this block while the explorer expects that every block has a reward (even if it is 0).

@AlexITC AlexITC added bug Something isn't working server Changes required on the server project labels Oct 28, 2018
@AlexITC AlexITC closed this as completed Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server Changes required on the server project
Projects
None yet
Development

No branches or pull requests

1 participant