The withdrawInheritedFunds
function is designed to allow beneficiaries to withdraw inherited assets in equal portions. However, it is missing the onlyBeneficiaryWithIsInherited
check.
The function does not include a onlyBeneficiaryWithIsInherited
modifier, which might be necessary to ensure that only eligible beneficiaries can call this function.
Unauthorized users might attempt to withdraw inherited funds.
Manual code review
-Add a onlyBeneficiaryWithIsInherited
modifier to restrict function access to eligible beneficiaries.
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.