The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

No handling of `msg.value` in payable function

Summary

The function distributeAssets has a payable keyword but does not handle the msg.value.

Vulnerability Details

Having the payable keyword and not using the msg.value will result in the function having the ability to receive ETH but it will not be accounted anywhere in the contract.

Impact

Not handling the msg.value

Tools Used

Manual Review

Recommendations

Remove the payable keyword

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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