Run golangci-lint #6
Annotations
10 errors
lint:
go-ethereum/common/hexutil/json.go#L124
Error return value of `hex.Decode` is not checked (errcheck)
|
lint:
go-ethereum/common/hexutil/json.go#L145
Error return value of `hex.Decode` is not checked (errcheck)
|
lint:
go-ethereum/common/hexutil/json_test.go#L309
Error return value of `v.UnmarshalJSON` is not checked (errcheck)
|
lint:
ethrpc/unmarshal.go#L196
Error return value of `types.Sender` is not checked (errcheck)
|
lint:
ethtest/helpers.go#L19
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
lint:
cmd/chain-watch/main.go#L223
Error return value of `os.WriteFile` is not checked (errcheck)
|
lint:
cmd/chain-watch/summary.go#L16
var `waitBeforeAnalyze` is unused (unused)
|
lint:
cmd/chain-watch/summary.go#L43
S1023: redundant break statement (gosimple)
|
lint:
cmd/chain-watch/summary.go#L47
S1023: redundant break statement (gosimple)
|
lint:
go-ethereum/crypto/bn256/google/bn256_test.go#L278
Error return value of `pa.Unmarshal` is not checked (errcheck)
|