Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon committed Mar 3, 2022
1 parent bdcc5bc commit bd67d42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/apptesting/test_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ func SetupValidator(suite SuiteI, bondStatus stakingtypes.BondStatus) sdk.ValAdd
bondDenom := suite.GetApp().StakingKeeper.GetParams(suite.GetCtx()).BondDenom
selfBond := sdk.NewCoins(sdk.Coin{Amount: sdk.NewInt(100), Denom: bondDenom})

simapp.FundAccount(suite.GetApp().BankKeeper, suite.GetCtx(), sdk.AccAddress(valAddr), selfBond)
err := simapp.FundAccount(suite.GetApp().BankKeeper, suite.GetCtx(), sdk.AccAddress(valAddr), selfBond)
suite.GetSuite().Require().NoError(err)
sh := teststaking.NewHelper(suite.GetSuite().T(), suite.GetCtx(), *suite.GetApp().StakingKeeper)
msg := sh.CreateValidatorMsg(valAddr, valPub, selfBond[0].Amount)
sh.Handle(msg, true)
Expand Down

0 comments on commit bd67d42

Please sign in to comment.