aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/ownership/Ownable.sol
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-09-12 22:21:43 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-09-12 22:21:43 +0800
commit879251a78b2d4e26dc71299d2d7ca989d0855d61 (patch)
treefedf7b035e527103f178f9670bce4cbbc81d283d /test/compilationTests/zeppelin/ownership/Ownable.sol
parent1994b51ef3eb8de3617efec9747979c9fb5ed453 (diff)
downloaddexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.gz
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.bz2
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.lz
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.xz
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.zst
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.zip
Update test suite to use address payable.
Diffstat (limited to 'test/compilationTests/zeppelin/ownership/Ownable.sol')
-rw-r--r--test/compilationTests/zeppelin/ownership/Ownable.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/ownership/Ownable.sol b/test/compilationTests/zeppelin/ownership/Ownable.sol
index bd175077..3c95127d 100644
--- a/test/compilationTests/zeppelin/ownership/Ownable.sol
+++ b/test/compilationTests/zeppelin/ownership/Ownable.sol
@@ -7,7 +7,7 @@ pragma solidity ^0.4.11;
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
- address public owner;
+ address payable public owner;
/**
@@ -34,7 +34,7 @@ contract Ownable {
* @dev Allows the current owner to transfer control of the contract to a newOwner.
* @param newOwner The address to transfer ownership to.
*/
- function transferOwnership(address newOwner) public onlyOwner {
+ function transferOwnership(address payable newOwner) public onlyOwner {
if (newOwner != address(0)) {
owner = newOwner;
}