Skip to content

Commit

Permalink
fix broken test compile
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Feb 21, 2024
1 parent 2268240 commit 2c1bdc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/reward/keeper/rules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ func (s *KeeperTestSuite) createTestValidators(amount int) {
validator := teststaking.NewValidator(s.T(), valAddrs[i], PKs[i])
tokens := s.app.StakingKeeper.TokensFromConsensusPower(s.ctx, int64(1+amount-i))
validator, _ = validator.AddTokensFromDel(tokens)
validator = keeper.TestingUpdateValidator(&s.app.StakingKeeper, s.ctx, validator, true)
validator = keeper.TestingUpdateValidator(s.app.StakingKeeper, s.ctx, validator, true)
validators = append(validators, validator)

// Create the delegations
Expand Down

0 comments on commit 2c1bdc2

Please sign in to comment.