diff --git a/client/lcd/test_helpers.go b/client/lcd/test_helpers.go index 24a5b9449..f82880fd7 100644 --- a/client/lcd/test_helpers.go +++ b/client/lcd/test_helpers.go @@ -139,17 +139,17 @@ func InitializeTestLCD(t *testing.T, nValidators int, initAddrs []sdk.AccAddress panic("InitializeTestLCD must use at least one validator") } - // add the priv validator (actual node) to genesis validators - genDoc.Validators = append(genDoc.Validators, - tmtypes.GenesisValidator{ - PubKey: privVal.PubKey, - Power: 1, - Name: "val", - }, - ) + //// add the priv validator (actual node) to genesis validators + //genDoc.Validators = append(genDoc.Validators, + //tmtypes.GenesisValidator{ + //PubKey: privVal.PubKey, + //Power: 1, + //Name: "val", + //}, + //) // then add some randoms - for i := 2; i < nValidators; i++ { + for i := 1; i < nValidators; i++ { genDoc.Validators = append(genDoc.Validators, tmtypes.GenesisValidator{ PubKey: ed25519.GenPrivKey().PubKey(), diff --git a/cmd/gaia/app/app.go b/cmd/gaia/app/app.go index 9c07f895e..5f5b542ef 100644 --- a/cmd/gaia/app/app.go +++ b/cmd/gaia/app/app.go @@ -168,7 +168,7 @@ func (app *GaiaApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.R validatorUpdates := stake.EndBlocker(ctx, app.stakeKeeper) // distribute rewards - distr.EndBlocker(ctx, app.distrKeeper) + //distr.EndBlocker(ctx, app.distrKeeper) // Add these new validators to the addr -> pubkey map. app.slashingKeeper.AddValidators(ctx, validatorUpdates)