In the function deposit() the line of code
‘if(loveToken.balanceOf(address(stakingVault)) = 0 ‘ makes not that much
sense.
This has not that much sense because imagine a situation when
stakingVault balance is not 0 but is lower than the amount deposited, this is
also obviously a possible bug.
Foundry
Check if stakingVault balance has that
‘amount’ of tokens deposited * 2
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.