From d7df5953e563fb8a3daf6bd0cefbd8271015e86a Mon Sep 17 00:00:00 2001 From: Mudit Gupta Date: Tue, 7 May 2019 16:19:07 +0530 Subject: [PATCH] minor transfer optimization --- contracts/tokens/SecurityToken.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/tokens/SecurityToken.sol b/contracts/tokens/SecurityToken.sol index 65ab132d9..2b0c7ed89 100644 --- a/contracts/tokens/SecurityToken.sol +++ b/contracts/tokens/SecurityToken.sol @@ -422,7 +422,7 @@ contract SecurityToken is ERC20, ReentrancyGuard, SecurityTokenStorage, IERC1594 * @return bool success */ function transfer(address _to, uint256 _value) public returns(bool success) { - transferWithData(_to, _value, ""); + _transferWithData(msg.sender, _to, _value, ""); return true; }