From c7807c5b58c9982fe25d4ccb44abafff40cc6285 Mon Sep 17 00:00:00 2001 From: zava Date: Wed, 29 Nov 2017 15:18:03 -0300 Subject: [PATCH] changed view for constant --- contracts/ownership/Inheritable.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/ownership/Inheritable.sol b/contracts/ownership/Inheritable.sol index 640e92d7e..88e65cf14 100644 --- a/contracts/ownership/Inheritable.sol +++ b/contracts/ownership/Inheritable.sol @@ -92,7 +92,7 @@ contract Inheritable is Ownable { timeOfDeath = 0; } - function ownerLives() internal view returns (bool) { + function ownerLives() internal constant returns (bool) { return timeOfDeath == 0; } }