Submitted by gpersoon, also found by jonah1005, zer0dot, 0xRajeev, JMukesh, cmichel, k, shw, 7811, heiho1 and maplesyrup.
A call to transferFrom or transfer is frequently done without checking the results. For certain ERC20 tokens, if insufficient tokens are present, no revert occurs but a result of false is returned. Its important to check this. If you dont, you could mint tokens without have received sufficient tokens to do so and could loose funds. Its also a best practice to check this.
Recommend always checking the result of transferFrom and transfer.
verifyfirst (Spartan) confirmed:
ghoul-sol (judge) commented:
