Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 10, 2024
1 parent b862196 commit 07378f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/gov/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var (
emergencyTallyInterval = time.Minute * 10
)

func createDefaultApp(t *testing.T) *initiaapp.InitiaApp {
func createDefaultApp(_ *testing.T) *initiaapp.InitiaApp {
app := initiaapp.SetupWithGenesisAccounts(nil, authtypes.GenesisAccounts{
&authtypes.BaseAccount{Address: addrs[0].String()},
},
Expand Down Expand Up @@ -124,7 +124,7 @@ func createTextProposalMsg(t *testing.T, initialTokenAmount int64, expedited boo
return newProposalMsg
}

func createDepositMsg(t *testing.T, depositor sdk.AccAddress, proposalID uint64, amount sdk.Coins) *v1.MsgDeposit {
func createDepositMsg(_ *testing.T, depositor sdk.AccAddress, proposalID uint64, amount sdk.Coins) *v1.MsgDeposit {
newDepositMsg := v1.NewMsgDeposit(
depositor,
proposalID,
Expand All @@ -133,7 +133,7 @@ func createDepositMsg(t *testing.T, depositor sdk.AccAddress, proposalID uint64,
return newDepositMsg
}

func createVoteMsg(t *testing.T, voter sdk.AccAddress, proposalID uint64, option v1.VoteOption) *v1.MsgVote {
func createVoteMsg(_ *testing.T, voter sdk.AccAddress, proposalID uint64, option v1.VoteOption) *v1.MsgVote {
newVoteMsg := v1.NewMsgVote(
voter,
proposalID,
Expand Down

0 comments on commit 07378f5

Please sign in to comment.