synapsecns/sanguine

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

Summary

Maintainability
A
1 hr
Test Coverage

Method exporter.vpriceStats has 10 return statements (exceeds 4 allowed).
Open

func (e *exporter) vpriceStats(ctx context.Context, chainID int, tokenID string) error {
    client, err := e.omnirpcClient.GetConfirmationsClient(ctx, chainID, 1)
    if err != nil {
        return fmt.Errorf("could not get confirmations client: %w", err)
    }
Severity: Major
Found in contrib/promexporter/exporters/bridge.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status