Hi,
So I’ve deployed an ERC20 using the ERC20PresetMinterPauser.sol contract. When I try to use the burnFrom function I get an error.
Environment
Contract Version v3.2.0
Remix, Javascript VM
Details
I mint some tokens to an address, and then when I use the burnFrom function for that address, I get this error:
“ERC20: burn amount exceeds allowance”.
I can use the burn function, but not the burnFrom function.
Any ideas? Thanks!