Commit d808e49b by zava Committed by Alejandro Santander

changed 'pronounce' for 'proclaim'

parent a8afb20c
...@@ -22,7 +22,7 @@ contract Inheritable is Ownable { ...@@ -22,7 +22,7 @@ contract Inheritable is Ownable {
event HeirChanged(address indexed owner, address indexed newHeir); event HeirChanged(address indexed owner, address indexed newHeir);
event OwnerHeartbeated(address indexed owner); 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); event Inherited(address indexed previousOwner, address indexed newOwner);
...@@ -67,9 +67,9 @@ contract Inheritable is Ownable { ...@@ -67,9 +67,9 @@ contract Inheritable is Ownable {
* @dev Heir can pronounce the owners death. To inherit the ownership, they will * @dev Heir can pronounce the owners death. To inherit the ownership, they will
* have to wait for `heartbeatTimeout` seconds. * have to wait for `heartbeatTimeout` seconds.
*/ */
function pronounceDeath() public onlyHeir { function proclaimDeath() public onlyHeir {
require(ownerLives()); require(ownerLives());
OwnerPronouncedDead(owner, heir, timeOfDeath); OwnerProclaimedDead(owner, heir, timeOfDeath);
timeOfDeath = now; timeOfDeath = now;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment