Impact: The function fails to properly distribute the finalAmount among the beneficiaries.
Proof of Concepts-
Recommended mitigation `function buyOutEstateNFT(uint256 _nftID) external onlyBeneficiaryWithIsInherited { uint256 value = nftValue[_nftID]; uint256 divisor = beneficiaries.length; uint256 multiplier = beneficiaries.length - 1; uint256 finalAmount = (value / divisor) * multiplier;
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.