Incentives: Heartbeat transaction type #13718
Annotations
4 errors
reviewdog-golangci-lint:
test/framework/fixtures/libgoalFixture.go#L479
[Lint Errors] reported by reviewdog 🐶
exported: exported method LibGoalFixture.ConsensusParamsFromVer should have comment or be unexported (revive)
Raw Output:
test/framework/fixtures/libgoalFixture.go:479:1: exported: exported method LibGoalFixture.ConsensusParamsFromVer should have comment or be unexported (revive)
func (f *LibGoalFixture) ConsensusParamsFromVer(cv protocol.ConsensusVersion) config.ConsensusParams {
^
|
reviewdog-golangci-lint:
ledger/eval/eval.go#L1764
[Lint Errors] reported by reviewdog 🐶
type `headerSource` is unused (unused)
Raw Output:
ledger/eval/eval.go:1764:6: type `headerSource` is unused (unused)
type headerSource interface {
^
|
reviewdog-golangci-lint:
daemon/algod/api/client/restClient.go#L353
[Lint Errors] reported by reviewdog 🐶
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
Raw Output:
daemon/algod/api/client/restClient.go:353:12: S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
time := time.Now().Sub(roundStarted)
^
|
reviewdog-golangci-lint
reviewdog exited with status code: 1
|
Loading