Browse Source

[Heritable] ownerLives(): constant --> view

zava 7 years ago
parent
commit
51c2c50437
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/ownership/Heritable.sol

+ 1 - 1
contracts/ownership/Heritable.sol

@@ -92,7 +92,7 @@ contract Heritable is Ownable {
     heartbeatTimeout = newHeartbeatTimeout;
   }
 
-  function ownerLives() internal constant returns (bool) {
+  function ownerLives() internal view returns (bool) {
     return timeOfDeath == 0;
   }
 }