Submitted by 0xRajeev
The TVL calculation in deposit() uses convertedWadAmount but the one in withdraw() uses the parameter amount. While amount is still in WAD format, it may contain dust which is what the conversion to rawTokenAmount and then back to convertedWadAmount removes.
The impact of this is that use of amount in TVL during withdraw() will consider dust while the one in deposit() will not, which is inconsistent.
Recommend using convertedWadAmount instead of amount to be consistent with the increment during withdraw() TVL calculation.
raymogg (Tracer) confirmed
