Strict equality check for fees can lead to inability
withdrawal of fees require strict equality of totalFees accounting and actual balance
This can easily be problematic if due to the following
Present ETH before account was deployed
ETH sent by miners/validators as coinbase transaction
ETH sent via selfdestruct
This implies address(this).balance >= uint256(totalFees)
Function many neve be able to be called if extra ETH is sent into the account, resulting in the fees being locked in the contracts
Manual Analysis
Recommended to not use strict equality and just require >= and or to not rely on address(this).balance or any other suitable logical solution to prevent this vulnerability
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.