Remove redundancies #20
Annotations
10 errors and 11 warnings
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
Lint Golang
Cannot open: File exists
|
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint Golang
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Lint Golang:
pkg/subnet/public.go#L863
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (revive)
|
Lint Golang:
pkg/subnet/public.go#L122
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
Lint Golang:
pkg/subnet/public.go#L128
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
Lint Golang:
pkg/subnet/public.go#L123
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint Golang:
pkg/subnet/public.go#L129
unused-parameter: parameter 'balance' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint Golang:
pkg/subnet/public.go#L130
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint Golang:
pkg/subnet/public.go#L131
unused-parameter: parameter 'changeOwner' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint Golang:
pkg/subnet/public.go#L132
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint Golang:
cmd/blockchaincmd/deploy.go#L625
unexported-naming: the symbol ConvertL1TxID is local, its name should start with a lowercase letter (revive)
|
Loading