Absence of Address(0) and Error Check when updating feeReceiver Address could lead to loss of fund
L101 of the setFeeReceiver(...) function in the Lender.sol contract lacks necessary checks which could cause error in code execution if unnoticed, this is medium has low likelyhood but it is a possibility with high impact
Absence of Address(0) and Error Check when updating feeReceiver Address could lead to loss of fund
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol#L101
solidity, Hardhat
Address(0) check and Error check should be implemented into this function update
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.