Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Return 400 on get_block with nonexist block number [Issue 6374] #6490

Merged
merged 1 commit into from
Dec 18, 2018

Conversation

necokeine
Copy link
Contributor

@necokeine necokeine commented Dec 17, 2018

Return 404 on get_block with uonexist block number.

Resolves #6374

Change Description

Consensus Changes

API Changes

Documentation Additions

@heifner heifner changed the base branch from master to develop December 17, 2018 13:21
plugins/http_plugin/http_plugin.cpp Outdated Show resolved Hide resolved
@necokeine necokeine changed the title Return 404 on get_block with nonexist block number [Issue 6374] Return 400 on get_block with nonexist block number [Issue 6374] Dec 18, 2018
@necokeine
Copy link
Contributor Author

Thank you for review this code, it is my first time to send a merge request on Github. I have several questions here.

  1. Shall I develop on master thread directly? or something else.
  2. Shall I follow some code style here?

@heifner
Copy link
Contributor

heifner commented Dec 18, 2018

@necokeine Please develop on develop unless it is a bug fix for a specific version.
Please follow the code style you find in the files you are modifying.
Thanks for your contributions.

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

Successfully merging this pull request may close these issues.

4 participants