Browse Source

changed view for constant

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

+ 1 - 1
contracts/ownership/Inheritable.sol

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