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

Foreign api get_blocks doesn’t return genesis block #3772

Open
pkariz opened this issue Oct 2, 2023 · 0 comments
Open

Foreign api get_blocks doesn’t return genesis block #3772

pkariz opened this issue Oct 2, 2023 · 0 comments

Comments

@pkariz
Copy link

pkariz commented Oct 2, 2023

Describe the bug
get_blocks with starting height 0 doesn’t return genesis block.

To Reproduce
Steps to reproduce the behavior:

  1. Call get_blocks(0, 10, 1, true) returns block with height 1 instead of 0.

Since get_block(height=0) returns genesis block it would be better if get_blocks would also return it.

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

1 participant