The current logic of the ::mint() sources the price of a RAACNFT from the RAACNFT::getHousePrice() and then uses this figure to handle a refund if necessary.
But, there is absolutely no need for a refund if redundant code is removed in the ::mint() function.
Manual Review
Rewrote the ::mint() function such that the price of a RACCNFT is sourced from the ::getHousePrice() function, and this figure is transferred from the user.
This way, there will never be an incident where a refund is necessary because only the exact price of a RAACNFT is always transferred from the user.
P.S. The RAACNFT inherits the ::mint() function from the IRAACNFT interface. So I commented out the IRAACNFT::mint() function. SInce it is only used in the RAACNFT contract, it is safe to do so.
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.