Browse Source

marked ownerLives as view

zava 7 years ago
parent
commit
80ae074c57
1 changed files with 2 additions and 2 deletions
  1. 2 2
      contracts/ownership/Inheritable.sol

+ 2 - 2
contracts/ownership/Inheritable.sol

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