If price will be negative, function _processResponse will incorrece decode received bytes. Because received value decoded to uint256. Contract can work only with positive numbers.
House price could be negative if the property is collateral for the loan. In this case, the price of the property will be negative because its owner cannot sell it and if he does not repay the debt, the property will be sold - there will be a minus.
Function is waiting only positive price.
Properties with negative price will be decoded to positive price. Incorrect calculation of collateral.
Manual review
Decode response to int256
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.