The Standard

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

Unchecked Return Values in `distributeAssets()` Function

Summary

Unchecked Return Values in distributeAssets() Function

Vulnerability Details and Impact

Similar to the returnUnpurchasedNative() function, the distributeAssets() function makes external calls using the .call() function, which doesn't check the return value. If the call fails for any reason, the function will proceed as if nothing went wrong, leading to unexpected behavior.

Recommendations

Always check the return value of .call() operations to ensure they succeeded

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.