Open code423n4 opened 2 years ago
Since there's a require statement to check whether ‘amount’ is the smaller operand of the two, can use unchecked block :
https://github.com/maple-labs/loan/blob/4c6fe2cd91d6d16b8434c426fe7eb6d2bc77bc30/contracts/Refinancer.sol#L16
Acknowledged but won't implement for cleanliness
Since there's a require statement to check whether ‘amount’ is the smaller operand of the two, can use unchecked block :
https://github.com/maple-labs/loan/blob/4c6fe2cd91d6d16b8434c426fe7eb6d2bc77bc30/contracts/Refinancer.sol#L16