Hot answers tagged

1

Possible reason #1: balances[from] = balances[from].sub(tokens); This line would revert if balances[from] < tokens. Possible reason #2: allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens); This line would revert if allowed[from][msg.sender] < tokens. In order to avoid that, you must first call approve(from,tokens). Possible ...


Only top voted, non community-wiki answers of a minimum length are eligible