getNFTPrice() is a crucial function as it is used to calculate user's health factor.
To fetch NFT's price it called `RAACHousePrices :: getLatestPrice()` But point there is no heartbeat or freshness check present which will ensure, price updated recently or its old
HouseNft price could be a old value, which will directly impact on Health factor calculation.
RAACHousePrices.sol contract should maintain a heartbeat period, and once this heartBeat period exceed it should request for fresh price of HouseNft.
And during fetching of house price via getNFTPrice(), this function should also check freshness of houseprice against heartbeat time period.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.