In the codebase we can see that in the `_beforeInitialize` function the currency has been ReFi is being check against the pool pairs that is supposed to be currency1 and currency2
But the problem here is that the Refi currency is being checked against the currency1 twice which is wrong and makes the check only half effective
Likelihood:
This vuln can occur anytime refi is currency 0
Impact:
The check is not fully effective
see that on line 3 and 4 refi is being checked against currency 1 twice
Make sure to check against all pool currencies instead one sided currency twice
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.