The inherit
function sets isInherited = true
for multiple beneficiaries but does not set a deadline, while it sets a deadline for a single beneficiary. This inconsistency could allow withdrawals to happen immediately for multiple beneficiaries.
For one beneficiary, the deadline is set using _setDeadline()
.
For multiple beneficiaries, no deadline is set, which could allow withdrawals to happen immediately.
Inconsistent Behavior: Withdrawals for multiple beneficiaries could happen immediately, while withdrawals for a single beneficiary are delayed.
Security Risk: Funds could be withdrawn prematurely for multiple beneficiaries.
Set the deadline for all cases (single or multiple beneficiaries) in the inherit
function
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.