Skip to content

Refactor await methods #17

Refactor await methods

Refactor await methods #17

GitHub Actions / golangci failed Nov 1, 2023 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (2)

utils/utils.go|49 col 15| string confirmed has 3 occurrences, make it a constant (goconst)
utils/utils.go|6| File is not goimports-ed with -local github.com/iotaledger (goimports)

Filtered Findings (0)

Annotations

Check failure on line 49 in utils/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] utils/utils.go#L49

string `confirmed` has 3 occurrences, make it a constant (goconst)
Raw output
utils/utils.go:49:15: string `confirmed` has 3 occurrences, make it a constant (goconst)
		if state == "confirmed" || state == "finalized" {
		            ^

Check failure on line 6 in utils/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] utils/utils.go#L6

File is not `goimports`-ed with -local github.com/iotaledger (goimports)
Raw output
utils/utils.go:6: File is not `goimports`-ed with -local github.com/iotaledger (goimports)