title: Problem with the approve function of ERC20 token contract
body: <p>So, whenever I am trying to approve my smart contract using the approve function of the ERC20 token contract the owner and the spender are being set the same.</p>
  <pre><code>function getValues(address _token) external {
         
          MyToken token = MyToken(0xd9145CCE52D386f254917e481eB44e9943F39138);
          token.approve(address(this),10);
                     
  }
  function transfer(address _token) external {
        MyToken token = MyToken(0xd9145CCE52D386f254917e481eB44e9943F39138);
      token.transferFrom(msg.sender,address(this),10);
  }
  </code></pre>
  <p>The output to the code is coming something like this [
  {
  &quot;from&quot;: &quot;0xd9145CCE52D386f254917e481eB44e9943F39138&quot;,
  &quot;topic&quot;: &quot;0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925&quot;,
  &quot;event&quot;: &quot;Approval&quot;,
  &quot;args&quot;: {
  &quot;0&quot;: &quot;0xf8e81D47203A594245E36C48e151709F0C19fBe8&quot;,
  &quot;1&quot;: &quot;0xf8e81D47203A594245E36C48e151709F0C19fBe8&quot;,
  &quot;2&quot;: &quot;10&quot;,
  &quot;owner&quot;: &quot;0xf8e81D47203A594245E36C48e151709F0C19fBe8&quot;,
  &quot;spender&quot;: &quot;0xf8e81D47203A594245E36C48e151709F0C19fBe8&quot;,
  &quot;value&quot;: &quot;10&quot;
  }
  }
  ]</p>