From 5ab9024b6a30b56e0a4dec329dd7267f56298e5a Mon Sep 17 00:00:00 2001 From: Yong Date: Thu, 31 May 2018 07:10:08 +0800 Subject: [PATCH] update balance syntax for solidity 0.4.23 (#940) --- contracts/ownership/HasNoEther.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/ownership/HasNoEther.sol b/contracts/ownership/HasNoEther.sol index 6ce449b2c..1ddefca91 100644 --- a/contracts/ownership/HasNoEther.sol +++ b/contracts/ownership/HasNoEther.sol @@ -36,6 +36,6 @@ contract HasNoEther is Ownable { * @dev Transfer all Ether held by the contract to the owner. */ function reclaimEther() external onlyOwner { - owner.transfer(this.balance); + owner.transfer(address(this).balance); } }