update balance syntax for solidity 0.4.23 (#940)
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user