From d808e49b51098f93d663fcb8784e9398dc6b3f3b Mon Sep 17 00:00:00 2001 From: zava Date: Tue, 28 Nov 2017 22:03:30 -0300 Subject: [PATCH] changed 'pronounce' for 'proclaim' --- contracts/ownership/Inheritable.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/ownership/Inheritable.sol b/contracts/ownership/Inheritable.sol index 60dd03ab3..434515f37 100644 --- a/contracts/ownership/Inheritable.sol +++ b/contracts/ownership/Inheritable.sol @@ -22,7 +22,7 @@ contract Inheritable is Ownable { event HeirChanged(address indexed owner, address indexed newHeir); event OwnerHeartbeated(address indexed owner); - event OwnerPronouncedDead(address indexed owner, address indexed heir, uint timeOfDeath); + event OwnerProclaimedDead(address indexed owner, address indexed heir, uint timeOfDeath); event Inherited(address indexed previousOwner, address indexed newOwner); @@ -67,9 +67,9 @@ contract Inheritable is Ownable { * @dev Heir can pronounce the owners death. To inherit the ownership, they will * have to wait for `heartbeatTimeout` seconds. */ - function pronounceDeath() public onlyHeir { + function proclaimDeath() public onlyHeir { require(ownerLives()); - OwnerPronouncedDead(owner, heir, timeOfDeath); + OwnerProclaimedDead(owner, heir, timeOfDeath); timeOfDeath = now; }