diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-09 21:59:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 21:59:42 +0800 |
commit | 694754b4fe410abfa0661e29dd3e6d4d1ea1283e (patch) | |
tree | 575e2e8075bd13b36c54e8d4518c1e77269aefb5 /test/compilationTests/zeppelin/ownership/DelayedClaimable.sol | |
parent | e028d25ed34752a494a1efc0d3f9e4f0f1287d76 (diff) | |
parent | febbfd4204f72ea9371553dc3f2e349309b1bb0c (diff) | |
download | dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar.gz dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar.bz2 dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar.lz dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar.xz dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.tar.zst dexon-solidity-694754b4fe410abfa0661e29dd3e6d4d1ea1283e.zip |
Merge pull request #4432 from ethereum/visibilityCompilationTests
Specify default visibility in 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; |