DatingDapp

First Flight #33
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

LikeRegistry.sol lacks a public view function to check usersBalance

Summary

LikeRegistry.sol lacks a public view function to check individual and other user balances.

Vulnerability Details

Impact

  1. Users have no way to check how much ETH they have accumulated from likes.

  2. Matching process is opaque, both msg.sender has no idea of the user balance before matching

Tools Used

Manual

Recommendations

function getBalance(address user) public view returns (uint256) {
return userBalances[user];
}
Updates

Appeal created

n0kto Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational or Gas

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

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