Giveth / feathers-giveth

Featherjs server for caching giveth data.
MIT License
87 stars 99 forks source link

Convert Pan to other currencies are ok but other tokens to PAN have problem #622

Open mohammadranjbarz opened 2 years ago

mohammadranjbarz commented 2 years ago

When we call https://feathers.beta.giveth.io/conversionRates?symbol=PAN&to=DAI we get rate from coingecko and is ok at this time it returns 0.12

but when we call https://feathers.beta.giveth.io/conversionRates?symbol=DAI&to=PAN

the backend fetch rate from cryptocompare and it's wrong, at this time it's 5.69

We should change to get in both types from coingecko

@MoeNick just mention you to know what should we work on it