https://github.com/code-423n4/2024-12-bakerfi/blob/0daf8a0547b6245faed5b6cd3f5daf44d2ea7c9a/contracts/core/hooks/swappers/UseUnifiedSwapper.sol#L71-L73
Allowance not set to maximum value in enableRoute. When tokens are transferred, allowance needs to be updated every time, which can unnecessarily waste gas costs or exhaust the allowance.
In enableRoute, approve is set to type(uint256).max - 1 instead of type(uint256).max. Since the ERC20 allowance is not set to maximum, allowance needs to be updated every time tokens are transferred. This can unnecessarily waste gas costs or exhaust the allowance.
Approve with type(uint256).max.
