Skip to content

[lint] Add golangci-lint and fix issues as a result of it #2

[lint] Add golangci-lint and fix issues as a result of it

[lint] Add golangci-lint and fix issues as a result of it #2

Re-run triggered March 20, 2025 01:57
Status Failure
Total duration 31s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
lint: internal/types/account.go#L89
S1034: assigning the result of this type assertion to a variable (switch innerSigner := innerSigner.(type)) could eliminate type assertions in switch cases (gosimple)
lint: internal/types/account.go#L91
S1034(related information): could eliminate this type assertion (gosimple)
lint: internal/types/account.go#L93
S1034(related information): could eliminate this type assertion (gosimple)
lint: nodeClient.go#L689
ineffectual assignment to expirationSeconds (ineffassign)
lint
issues found