There is a duplicated code for the pool id calculation in the contract.
The keccak256(abi.encode(... )) is called directly in the refinance and seizeLoan functions, however, there is a getPoolId function that executes this logic.
These duplications decrease the code readability.
Manual Review
Call the getPoolId instead of direct pool id calculation.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.