Closed Zena-park closed 4 minutes ago
It can reduce the code byte size.
It makes code management easier.
No response
Replace duplicate above code with _checkNonAddress functions.
function _checkNonAddress(address account) internal { if(account == address(0)) revert InvalidAddress(); }
@Zena-park Thank you. Here is the update.
I confirmed. Thank you.
Describe the bug
Impact
It can reduce the code byte size.
It makes code management easier.
Exploit Scenario
No response
Recommendation
Replace duplicate above code with _checkNonAddress functions.