Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
randyahx authored and Keefe Liu committed Feb 14, 2023
1 parent c0d9d8f commit 84c5fbf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/slashing/client/testutil/impeach_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ type ImpeachValidatorTestSuite struct {
cfg network.Config
network *network.Network
proposalIDs []string
validators []sdk.AccAddress
}

func NewImpeachValidatorTestSuite(cfg network.Config) *ImpeachValidatorTestSuite {
Expand Down Expand Up @@ -88,7 +87,6 @@ func (s *ImpeachValidatorTestSuite) submitProposal(from string, isValidTestCase

kickedVal := s.network.Validators[2]

//nolint:staticcheck
args := append([]string{
s.ImpeachValidatorProposal(kickedVal.Address, from).Name(),
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.ValAddress.String()),
Expand Down Expand Up @@ -117,7 +115,6 @@ func (s *ImpeachValidatorTestSuite) voteProposal(proposalID string, val *network
clientCtx := val.ClientCtx
clientCtx.Client = s.network.Validators[0].RPCClient

//nolint:staticcheck
args := append([]string{
proposalID,
voteOption,
Expand Down

0 comments on commit 84c5fbf

Please sign in to comment.