Skip to content

Commit

Permalink
update balance syntax for solidity 0.4.23 (OpenZeppelin#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu authored and shrugs committed May 30, 2018
1 parent d5f06ab commit 5ab9024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ownership/HasNoEther.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 5ab9024

Please sign in to comment.