From 80ae074c576c3dad45ff7021659bcf871ed0290f Mon Sep 17 00:00:00 2001 From: zava Date: Tue, 28 Nov 2017 22:04:10 -0300 Subject: [PATCH] marked ownerLives as view --- contracts/ownership/Inheritable.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/ownership/Inheritable.sol b/contracts/ownership/Inheritable.sol index 434515f37..640e92d7e 100644 --- a/contracts/ownership/Inheritable.sol +++ b/contracts/ownership/Inheritable.sol @@ -92,7 +92,7 @@ contract Inheritable is Ownable { timeOfDeath = 0; } - function ownerLives() internal returns (bool) { + function ownerLives() internal view returns (bool) { return timeOfDeath == 0; } -} \ No newline at end of file +}