Merge pull request #1859: slashing to governance for non-voting validators

* added slashing to governance non voting

* minor formatting
This commit is contained in:
Sunny Aggarwal
2018-07-30 01:11:21 -04:00
committed by Rigel
parent 53d30aff88
commit 7fc2ed61d7
5 changed files with 62 additions and 5 deletions
+1 -2
View File
@@ -146,9 +146,8 @@ func (app *GaiaApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) ab
// application updates every end block
// nolint: unparam
func (app *GaiaApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock {
tags := gov.EndBlocker(ctx, app.govKeeper)
validatorUpdates := stake.EndBlocker(ctx, app.stakeKeeper)
tags, _ := gov.EndBlocker(ctx, app.govKeeper)
return abci.ResponseEndBlock{
ValidatorUpdates: validatorUpdates,