Wrong Calculation of User's position due to getTstTotal()
During calculation of LiquidationPool::position::_position.EUROs the calculation is done with getTstTotal() in denominator , the catch is that the getTstTotal()
is using pendingStake as well during consideration . If there is a large pending stake order and during that time the "position" is being calculated at that time position of user would come less as if after calculating the "position" someone deletes the pending stake then it would create loss for user.
Loss of position of user while calculating position
Manual
Dont consider pending stake orders.
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.