In withdraw(), execute _burn() first in _yieldVault.withdraw().
Code as follows:
In _burn(), the method will execute _updateExchangeRate():
Then, _currentExchangeRate() will read _yieldVault.maxWithdraw():
This results in a wrong order:
The result is that the second step of reading total assets is not correct and the third step should be put before the second step.
Suggestion:
