The _redeemWTokenPrivate() function does not validate whether _wTokenAmount is zero before executing. This can lead to unnecessary gas consumption and inefficient external calls to the burn() and withdraw() functions, even when no actual redemption is taking place.
unnecessary gas consumption.
Manual Review
Add a require statement at the beginning of the function:
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.