The inheritanceManager::sendETH
function do not perform balance checks before attempting to send ETH. This can lead to unintended transaction failures if the contract does not have sufficient funds.
In the sendETH
function, there is no check to ensure that the contract has enough ETH before making the transfer:
Similarly, in the inheritanceManager::sendERC20
function, while there is a check for balance, there is no update to track the amount deducted from the contract:
Unintended Transaction Reverts: If _amount is greater than the contract’s balance, the transaction will revert, potentially blocking functionality.
Unexpected failures can lead to confusion and unnecessary gas costs for the contract owner.
Lack of Internal Tracking
Manual code review
Add Balance Check and Internal Tracking
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.