Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
clockworkgr committed Sep 4, 2023
1 parent 3eaf39a commit 79cf45d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ignite/services/plugin/client_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ type clientAPI struct {
chain Chainer
}

func (api clientAPI) GetChainInfo(ctx context.Context) (*ChainInfo, error) {
chainId, err := api.chain.ID()
func (api clientAPI) GetChainInfo(_ context.Context) (*ChainInfo, error) {
chainID, err := api.chain.ID()
if err != nil {
return nil, err
}
Expand All @@ -36,7 +36,7 @@ func (api clientAPI) GetChainInfo(ctx context.Context) (*ChainInfo, error) {
return nil, err
}
return &ChainInfo{
ChainId: chainId,
ChainId: chainID,
AppPath: appPath,
ConfigPath: configPath,
RpcAddress: rpc,
Expand Down

0 comments on commit 79cf45d

Please sign in to comment.