This feature will prevent users from erroneously sending tokens to the smart contract address.
require(to != address(this), "some error message")
1 Like
This feature will prevent users from erroneously sending tokens to the smart contract address.
require(to != address(this), "some error message")