The getEtherPrice function in the contract FSDNetwork fetches the ETH price from a Chainlink aggregator using the latestRoundData function. However, there are no checks on roundID nor timeStamp, resulting in stale prices.
Recommend adding checks on the return data with proper revert messages if the price is stale or the round is incomplete, for example:
fairside-core (FairSide) confirmed:
cemozerr (Judge) commented:
