services/rfq/relayer/pricer/fetcher.go
Method CoingeckoPriceFetcherImpl.GetPrice
has 8 return statements (exceeds 4 allowed). Open
Open
func (c *CoingeckoPriceFetcherImpl) GetPrice(ctx context.Context, token string) (price float64, err error) {
coingeckoID, ok := coingeckoIDLookup[token]
if !ok {
return price, fmt.Errorf("could not get coingecko id for token: %s", token)
}