# What was the problem?
`/api/delegates/getNextForgers` endpoint returns wrong delegates list when called on last block on round.
### How did I fix it?
Add `+ 1` to height passed.
### How to test it?
### Review checklist
* The PR solves #1998
* All new code is covered with unit tests
* All new code was formatted with Prettier
* Linting passes
* Tests pass
* Commit messages follow the [commit guidelines](CONTRIBUTING.md#git-commit-messages)
* Documentation has been added/updated
You can view, comment on, or merge this pull request online at:
— Commit Summary —
* Call generateDelegateList with proper height in getForgers
— File Changes —
M modules/delegates.js (2)
— Patch Links —
This post was last modified on May 7, 2018, 5:36 pm