yearn / ySync

sync.yearn.farm
GNU General Public License v3.0
3 stars 10 forks source link

refactor: On apy error check if vault is retired or always hidden #115

Closed karelianpie closed 1 year ago

karelianpie commented 1 year ago

Description

When searching for APY errors check first if vault details has retired=true or hideAlways=true if either of those are true skip checking for APY since it doesn't matter

Related Issue

Closes https://github.com/yearn/ySync/issues/90

Motivation and Context

We don't want old vaults showing an apy error

How Has This Been Tested?

Locally

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ysync ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2023 11:05am