Сryptocurrency development analysis

# 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?
Manually.
### 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:

https://github.com/LiskHQ/lisk/pull/2009

— Commit Summary —

* Call generateDelegateList with proper height in getForgers

— File Changes —

M modules/delegates.js (2)

— Patch Links —

https://github.com/LiskHQ/lisk/pull/2009.patch
https://github.com/LiskHQ/lisk/pull/2009.diff

Добавить комментарий