From 95338da8c6ee2b456b6523a22633191e87fafb0b Mon Sep 17 00:00:00 2001 From: Mudit Gupta Date: Thu, 13 Jun 2019 19:02:58 +0530 Subject: [PATCH] minor transfer optimization (#668) --- 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 4f43f4606..3f034aed1 100644 --- a/contracts/tokens/SecurityToken.sol +++ b/contracts/tokens/SecurityToken.sol @@ -421,7 +421,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; }