Explicit public visibility on methods
This commit is contained in:
committed by
Francisco Giordano
parent
bd84db735d
commit
b395b06b65
@ -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) onlyOwner public {
|
||||
require(_start <= _end);
|
||||
end = _end;
|
||||
start = _start;
|
||||
@ -31,7 +31,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() onlyPendingOwner public {
|
||||
require((block.number <= end) && (block.number >= start));
|
||||
OwnershipTransferred(owner, pendingOwner);
|
||||
owner = pendingOwner;
|
||||
|
||||
Reference in New Issue
Block a user