From 6b89639f90f9542de39c12a513d6490b966f9ba4 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Mon, 25 Dec 2017 17:58:15 -0600 Subject: [PATCH] update docs 2 [ci skip] --- docs/app-development.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/app-development.rst b/docs/app-development.rst index fd6d3f7f..cbb39fa3 100644 --- a/docs/app-development.rst +++ b/docs/app-development.rst @@ -424,8 +424,8 @@ error if the change in voting power is more or equal than 1/3. .. code-block:: go // Update the validator set - func (app *PersistentDummyApplication) EndBlock(height uint64) (resEndBlock types.ResponseEndBlock) { - return types.ResponseEndBlock{Diffs: app.changes} + func (app *PersistentDummyApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock { + return types.ResponseEndBlock{ValidatorUpdates: app.ValUpdates} } .. container:: toggle