From 75a0b3b312378c8de2bb3dd1fa2070e1ea6bbeb0 Mon Sep 17 00:00:00 2001 From: Sowmayjain Date: Fri, 12 Apr 2019 16:13:41 +0530 Subject: [PATCH] Removed dest argument from transferETH() --- contracts/ProxyLogics/Static/Exit.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/ProxyLogics/Static/Exit.sol b/contracts/ProxyLogics/Static/Exit.sol index 6aca8c3..6bbf4d5 100644 --- a/contracts/ProxyLogics/Static/Exit.sol +++ b/contracts/ProxyLogics/Static/Exit.sol @@ -26,9 +26,9 @@ contract Exit { /** * @dev withdrawing ETH */ - function transferETH(address payable dest) public payable { - dest.transfer(address(this).balance); - emit LogTransferETH(dest, address(this).balance); + function transferETH() public payable { + msg.sender.transfer(address(this).balance); + emit LogTransferETH(msg.sender, address(this).balance); } /**