Compare commits

...

2 Commits

Author SHA1 Message Date
Anton Kaliaev
a507d2a019 rpc: correct error message 2019-08-06 17:17:38 +04:00
Anton Kaliaev
64e38e279e fix changelog msg 2019-08-06 17:17:28 +04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -19,8 +19,8 @@ program](https://hackerone.com/tendermint).
### IMPROVEMENTS:
- [privval] \#3370 Refactors and simplifies validator/kms connection handling. Please refer to thttps://github.com/tendermint/tendermint/pull/3370#issue-257360971
- [consensus] \#3839 Reduce "Error attempting to add vote" message severity (Error -> Info)
- [privval] \#3370 Refactors and simplifies validator/kms connection handling. Please refer to [this comment](https://github.com/tendermint/tendermint/pull/3370#issue-257360971) for details.
### BUG FIXES:

View File

@@ -160,7 +160,7 @@ func validatePage(page, perPage, totalCount int) (int, error) {
pages = 1 // one page (even if it's empty)
}
if page < 0 || page > pages {
return 1, fmt.Errorf("page should be within [0, %d] range, given %d", pages, page)
return 1, fmt.Errorf("page should be within [1, %d] range, given %d", pages, page)
}
return page, nil