Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

Missing ETH Balance Check in `InheritanceManager::sendETH`

Description: InheritanceManager::sendETH does not verify whether the contract holds enough ETH before attempting to send funds.

Impact: If the contract’s balance is insufficient, an ETH transfer may fail, leading to transaction reversion or unexpected behavior.

Recommended Mitigation: Add a balance check at the beginning of InheritanceManager::sendETH

if (address(this).balance < _amount) {
revert InsufficientBalance();
}
Updates

Lead Judging Commences

0xtimefliez Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.