diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-05 01:20:51 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-05 01:20:51 +0800 |
commit | febbfd4204f72ea9371553dc3f2e349309b1bb0c (patch) | |
tree | f0543d5cb7948a13a555e9695a41b7f1053d798f /test/compilationTests/zeppelin/ownership/DelayedClaimable.sol | |
parent | 7101a8905656d52cf9023a2e4340219d184920c3 (diff) | |
download | dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar.gz dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar.bz2 dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar.lz dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar.xz dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.tar.zst dexon-solidity-febbfd4204f72ea9371553dc3f2e349309b1bb0c.zip |
Adds visibility to compilation tests.
Diffstat (limited to 'test/compilationTests/zeppelin/ownership/DelayedClaimable.sol')
-rw-r--r-- | test/compilationTests/zeppelin/ownership/DelayedClaimable.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/ownership/DelayedClaimable.sol b/test/compilationTests/zeppelin/ownership/DelayedClaimable.sol index 93177dc6..f019d2f1 100644 --- a/test/compilationTests/zeppelin/ownership/DelayedClaimable.sol +++ b/test/compilationTests/zeppelin/ownership/DelayedClaimable.sol @@ -20,7 +20,7 @@ contract DelayedClaimable is Claimable { * @param _start The earliest time ownership can be claimed. * @param _end The latest time ownership can be claimed. */ - function setLimits(uint256 _start, uint256 _end) onlyOwner { + function setLimits(uint256 _start, uint256 _end) public onlyOwner { if (_start > _end) throw; end = _end; @@ -32,7 +32,7 @@ contract DelayedClaimable is Claimable { * @dev Allows the pendingOwner address to finalize the transfer, as long as it is called within * the specified start and end time. */ - function claimOwnership() onlyPendingOwner { + function claimOwnership() public onlyPendingOwner { if ((block.number > end) || (block.number < start)) throw; owner = pendingOwner; |