synapsecns/sanguine

View on GitHub
contrib/promexporter/exporters/util.go

Summary

Maintainability
A
35 mins
Test Coverage

Method exporter.getAllTokens has 5 return statements (exceeds 4 allowed).
Open

func (e *exporter) getAllTokens(parentCtx context.Context) (allTokens Tokens, err error) {
    allTokens = []TokenConfig{}

    ctx, span := e.metrics.Tracer().Start(parentCtx, "get_all_tokens")

Severity: Major
Found in contrib/promexporter/exporters/util.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status