mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
Removed dest argument from transferETH()
This commit is contained in:
parent
f7a94c43a1
commit
75a0b3b312
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user