Commit 5ab9024b by Yong Committed by Matt Condon

update balance syntax for solidity 0.4.23 (#940)

parent d5f06ab3
...@@ -36,6 +36,6 @@ contract HasNoEther is Ownable { ...@@ -36,6 +36,6 @@ contract HasNoEther is Ownable {
* @dev Transfer all Ether held by the contract to the owner. * @dev Transfer all Ether held by the contract to the owner.
*/ */
function reclaimEther() external onlyOwner { function reclaimEther() external onlyOwner {
owner.transfer(this.balance); owner.transfer(address(this).balance);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment