Submitted by deadrxsezzz
The idea of FixedTermLoanHook is to only allow for withdrawals after a certain term end time. However, the problem is that the current implementation does not look at the expiry, but instead at the block.timestamp.
This creates inconsistencies such as forcing users not only to wait until terms end, but also having to wait an extra withdrawalBatchDuration before theyre able to withdraw their funds.
Check the expiry instead of block.timestamp.
d1ll0n (Wildcat) confirmed
laurenceday (Wildcat) acknowledged and commented:
Infect3d (warden) commented:
3docSec (judge) commented:
