https://github.com/tendermint/tendermint
Revision 0f69336148601d064e67d35501a04ee4e06f1ea0 authored by Anton Kaliaev on 11 December 2019, 10:16:38 UTC, committed by GitHub on 11 December 2019, 10:16:38 UTC
Fixes #4014

The reason being when you call any endpoint supporting optional height
and use `height=0`, it will return an error. For example:

```
$ curl localhost:2667/consensus_params?height=0
{
  "jsonrpc": "2.0",
  "id": -1,
  "error": {
    "code": -32603,
    "message": "Internal error",
    "data": "height must be greater than 0"
  }
}
```
1 parent 2b30f02
History
Tip revision: 0f69336148601d064e67d35501a04ee4e06f1ea0 authored by Anton Kaliaev on 11 December 2019, 10:16:38 UTC
docs: remove "0 means latest" from swagger docs (#4236)
Tip revision: 0f69336
File Mode Size
.circleci
.github
DOCKER
abci
behaviour
blockchain
cmd
config
consensus
crypto
docs
evidence
libs
lite
lite2
mempool
mock
networks
node
p2p
privval
proxy
rpc
scripts
state
store
test
tools
types
version
.editorconfig -rw-r--r-- 280 bytes
.gitignore -rw-r--r-- 528 bytes
.golangci.yml -rw-r--r-- 1.1 KB
CHANGELOG.md -rw-r--r-- 129.7 KB
CHANGELOG_PENDING.md -rw-r--r-- 6.0 KB
CODE_OF_CONDUCT.md -rw-r--r-- 4.9 KB
CONTRIBUTING.md -rw-r--r-- 10.4 KB
LICENSE -rw-r--r-- 11.1 KB
Makefile -rw-r--r-- 8.9 KB
PHILOSOPHY.md -rw-r--r-- 7.5 KB
README.md -rw-r--r-- 7.6 KB
SECURITY.md -rw-r--r-- 1.7 KB
UPGRADING.md -rw-r--r-- 17.1 KB
Vagrantfile -rw-r--r-- 2.0 KB
appveyor.yml -rw-r--r-- 251 bytes
codecov.yml -rw-r--r-- 330 bytes
docker-compose.yml -rw-r--r-- 1.3 KB
dredd.yml -rw-r--r-- 700 bytes
go.mod -rw-r--r-- 1.5 KB
go.sum -rw-r--r-- 30.7 KB
tests.mk -rw-r--r-- 3.0 KB
tools.mk -rw-r--r-- 2.9 KB

README.md

back to top