How do I get rid of the blacklist function in this contract.
What lines do I remove.
Please check from line 1200, thanks.
Hopefully someone saves me cos I’m not too convinced on what I did
Here’s the contract below.
How do I get rid of the blacklist function in this contract.
What lines do I remove.
Please check from line 1200, thanks.
Hopefully someone saves me cos I’m not too convinced on what I did
Here’s the contract below.
It's a pretty weird question.
There's only one function with 'blacklist' in its name:
function blacklistAccount (address account, bool isBlacklisted) public onlyOwner {
_blacklist[account] = isBlacklisted;
}
So just remove it from the code deploy a new contract.
BTW, it's on lines 1135-1137, and not "from line 1200".
Thanks so much man. I’ll get it off