Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaTulasi committed Sep 18, 2024
1 parent d69ee28 commit 2152b61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
10 changes: 0 additions & 10 deletions client/client.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
package client

import (
"bytes"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/tx"
)

const (
KeyringBackendTest = "test"
)

// ChainClient is client to interact with SPN.
type ChainClient struct {
factory tx.Factory
clientCtx client.Context
out *bytes.Buffer
Address string `json:"address"`
AddressPrefix string `json:"account_address_prefix"`
RPC string `json:"rpc"`
Expand Down
4 changes: 2 additions & 2 deletions keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ func (s *TestSuite) SetupTest() {

s.voteExtensionHandler = *keeper.NewVoteExtHandler(s.logger, &s.keeper)

prepareProposalHandler := func(_ sdk.Context, req *abci.RequestPrepareProposal) (*abci.ResponsePrepareProposal, error) {
prepareProposalHandler := func(_ sdk.Context, _ *abci.RequestPrepareProposal) (*abci.ResponsePrepareProposal, error) {
return &abci.ResponsePrepareProposal{}, nil
}

processProposalHandler := func(_ sdk.Context, req *abci.RequestProcessProposal) (*abci.ResponseProcessProposal, error) {
processProposalHandler := func(_ sdk.Context, _ *abci.RequestProcessProposal) (*abci.ResponseProcessProposal, error) {
return &abci.ResponseProcessProposal{}, nil
}

Expand Down
1 change: 0 additions & 1 deletion module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const ConsensusVersion = 1

// AppModuleBasic defines the basic application module used by the params module.
type AppModuleBasic struct {
cdc codec.Codec
keeper keeper.Keeper
}

Expand Down

0 comments on commit 2152b61

Please sign in to comment.