Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sukantoraymond committed Oct 8, 2024
1 parent 539bc60 commit cf4d0fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/blockchaincmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ func deployBlockchain(cmd *cobra.Command, args []string) error {
}
}

if sidecar.Sovereign {
if !sidecar.NotSOV {
//avaGoBootstrapValidators, err := convertToAvalancheGoSubnetValidator(bootstrapValidators)

Check failure on line 610 in cmd/blockchaincmd/deploy.go

View workflow job for this annotation

GitHub Actions / Lint

commentFormatting: put a space between `//` and comment text (gocritic)
//if err != nil {
// return err
Expand Down
2 changes: 1 addition & 1 deletion pkg/subnet/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (d *PublicDeployer) AddValidatorNonSOV(
return false, tx, remainingSubnetAuthKeys, nil
}

func (d *PublicDeployer) SetSubnetValidatorWeight(
func (d *PublicDeployer) SetL1ValidatorWeight(

Check warning on line 117 in pkg/subnet/public.go

View workflow job for this annotation

GitHub Actions / Lint

unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
message warp.Message,

Check warning on line 118 in pkg/subnet/public.go

View workflow job for this annotation

GitHub Actions / Lint

unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
) (*txs.Tx, error) {
return nil, nil
Expand Down

0 comments on commit cf4d0fa

Please sign in to comment.