mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-26 15:22:15 +00:00
update docs 2 [ci skip]
This commit is contained in:
parent
9b25f7325a
commit
6b89639f90
@ -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) {
|
func (app *PersistentDummyApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock {
|
||||||
return types.ResponseEndBlock{Diffs: app.changes}
|
return types.ResponseEndBlock{ValidatorUpdates: app.ValUpdates}
|
||||||
}
|
}
|
||||||
|
|
||||||
.. container:: toggle
|
.. container:: toggle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user