contrib/promexporter/exporters/bridge.go
Method exporter.vpriceStats
has 10 return statements (exceeds 4 allowed). Open
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)
}