Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Blocks endpoint returns genesis block with unknown blockid #3298

Closed
shuse2 opened this issue Apr 10, 2019 · 2 comments
Closed

Blocks endpoint returns genesis block with unknown blockid #3298

shuse2 opened this issue Apr 10, 2019 · 2 comments

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Apr 10, 2019

Expected behavior

RPC /blocks endpoint should return error if the lastBlockId provided is unknown.

Actual behavior

It returns genesis block if lastBlockId provided is unknown

Steps to reproduce

Call RPC blocks endpoint without known lastBlockId

Which version(s) does this affect? (Environment, OS, etc...)

1.5-

This issue was closed.
This issue is being transferred. Timeline may not be complete until it finishes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants