FeeSplitter: ETH_ADDR isn't supported #134
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
Handle
GreyArt
Vulnerability details
Impact
The view functions have the comment
use ETH_ADDR for ETH
. However, native ETH isn't supported by the FeeSplitter except forreleaseETH()
. Even so,releaseETH()
uses WETH as the token address, not the ETH constant, as it will unwrap WETH to ETH.This gives the wrong impression to readers of the contract that ETH is supported when it is in fact, not.
Recommended Mitigation Steps
Remove the comment
use ETH_ADDR for ETH
wherever it is mentioned.The text was updated successfully, but these errors were encountered: