Skip to content

Implement candidate registration and TopStakers seat manager. #2066

Implement candidate registration and TopStakers seat manager.

Implement candidate registration and TopStakers seat manager. #2066

GitHub Actions / golangci failed Oct 24, 2023 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (4)

components/restapi/core/accounts.go|1| : # github.com/iotaledger/iota-core/components/restapi/core
components/restapi/core/accounts.go|204 col 4| unknown field EpochIndex in struct literal of type apimodels.CommitteeResponse (typecheck)
components/app/app.go|16 col 10| could not import github.com/iotaledger/iota-core/components/restapi/core (-: # github.com/iotaledger/iota-core/components/restapi/core
components/restapi/core/accounts.go|204 col 4| unknown field EpochIndex in struct literal of type apimodels.CommitteeResponse) (typecheck)

Filtered Findings (0)

Annotations

Check failure on line 1 in components/restapi/core/accounts.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/restapi/core/accounts.go#L1

: # github.com/iotaledger/iota-core/components/restapi/core
Raw output
components/restapi/core/accounts.go:1: : # github.com/iotaledger/iota-core/components/restapi/core

Check failure on line 204 in components/restapi/core/accounts.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/restapi/core/accounts.go#L204

unknown field EpochIndex in struct literal of type apimodels.CommitteeResponse (typecheck)
Raw output
components/restapi/core/accounts.go:204:4: unknown field EpochIndex in struct literal of type apimodels.CommitteeResponse (typecheck)
package core

Check failure on line 16 in components/app/app.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/app/app.go#L16

could not import github.com/iotaledger/iota-core/components/restapi/core (-: # github.com/iotaledger/iota-core/components/restapi/core
Raw output
components/app/app.go:16:10: could not import github.com/iotaledger/iota-core/components/restapi/core (-: # github.com/iotaledger/iota-core/components/restapi/core

Check failure on line 204 in components/restapi/core/accounts.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/restapi/core/accounts.go#L204

unknown field EpochIndex in struct literal of type apimodels.CommitteeResponse) (typecheck)
Raw output
components/restapi/core/accounts.go:204:4: unknown field EpochIndex in struct literal of type apimodels.CommitteeResponse) (typecheck)
	coreapi "github.com/iotaledger/iota-core/components/restapi/core"
	        ^