The FeeDistributionBranch::convertAccumulatedFeesToWeth
function incorrectly distributes the reward with tokenIn
.
The convertAccumulatedFeesToWeth
function converts the any asset into the weth and then distributes the rewards for protocol and markets . However, this function mistakenly sends the weth amount with tokenIn
instead of tokenOut
.
The protocol and market will receive the reward in wrong token.
Manual review.
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.