Browse Source

update docs 2 [ci skip]

pull/1004/head
Anton Kaliaev 7 years ago
parent
commit
6b89639f90
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/app-development.rst

+ 2
- 2
docs/app-development.rst View File

@ -424,8 +424,8 @@ error if the change in voting power is more or equal than 1/3.
.. code-block:: go .. code-block:: go
// Update the validator set // 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 .. container:: toggle


Loading…
Cancel
Save