Submitted by auditor0517
This function is changing the protocol fee that is used during interest calculation here.
But it doesnt update interest before changing the fee so the _feesAmount will be calculated wrongly.
As we can see during pause() and unpause(), _addInterest() must be called before any changes.
But with the changeFee(), it doesnt update interest and the _feesAmount might be calculated wrongly.
Recommend modifying changeFee() like below.
DrakeEvans (Frax) confirmed, but disagreed with severity and commented:
0xA5DF (warden) commented:
gititGoro (judge) commented:
