Skip to content

Commit

Permalink
lint stake_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Aug 16, 2023
1 parent 197933b commit b207589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/superfluid/keeper/stake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ func (s *KeeperTestSuite) SetupUnbondConvertAndStakeTest(ctx sdk.Context, superf
// We check the following in this method:
// - if superfluid staked previously, check if the original validator's delegation has been deleted.
// - Cehck if the delegation of the new validator matches what's expected.
func (s *KeeperTestSuite) delegationCheck(ctx sdk.Context, sender sdk.AccAddress, originalValAddr, newValAddr sdk.ValAddress, totalAmtConverted sdk.Int) {
func (s *KeeperTestSuite) delegationCheck(sender sdk.AccAddress, originalValAddr, newValAddr sdk.ValAddress, totalAmtConverted sdk.Int) {
if !originalValAddr.Empty() {
// check if original superfluid staked lock's delgation is successfully deleted
_, found := s.App.StakingKeeper.GetDelegation(s.Ctx, sender, originalValAddr)
Expand Down

0 comments on commit b207589

Please sign in to comment.