Submitted by cryptphi
AccountantDelegate.initialize() is missing a zero address check for treasury_ parameter, which could maybe allow treasury to be mistakenly set to 0 address.
https://github.com/Plex-Engineer/lending-market/blob/755424c1f9ab3f9f0408443e6606f94e4f08a990/contracts/Accountant/AccountantDelegate.sol#L20
Add a require() check for zero address for the treasury parameter before changing the treasury address in the initialize function.
nivasan1 (Canto) confirmed
Alex the Entreprenerd (judge) commented:
