The withdrawInheritedFunds function does not check whether the deadline has passed (block.timestamp >= deadline), allowing withdrawals to occur prematurely.
The function only checks if isInherited is true but does not enforce the deadline.
This allows anyone to call withdrawInheritedFunds before the inheritance process is complete or the deadline has passed.
Premature Withdrawals: Funds can be withdrawn before the intended deadline, violating the contract's logic.
Security Risk: Unauthorized or premature withdrawals could disrupt the intended inheritance process.
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.