All funds sent to LikeRegistry
contract are stuck in the contract due to incorrect storing users balances.
In LikeRegistry
contract userBalances
is not updated when a user sends eth to the contract (either via likeUser
function or just by sending eth to contract address). There are only 2 ways to withdraw funds from the contract
If 2 users match then their balances are sent to MultiSigWallet
contract
The owner can withdraw fees
In both cases the value to send is calculated based on the values stored in userBalances
array, and since userBalances
values always equal to 0, no funds are actually sent anywhere.
All funds are stuck in the contract.
Manual review
Update userBalances
values when a user calls likeUser
or just sends eth to the contract:
Likelihood: High, always. Impact: High, loss of funds
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.