diff --git a/SmartContract/cauciones.sol b/SmartContract/cauciones.sol index ecb1f288d3df171a1d6c7e6e04cc547aa268428d..a9fad06065c5fae7c825718b78ad936e0af0eb35 100644 --- a/SmartContract/cauciones.sol +++ b/SmartContract/cauciones.sol @@ -4,7 +4,7 @@ pragma solidity ^0.4.24; contract Majority { - function isVoter( address ) public view returns (bool) { } + function isCouncil( address ) public view returns (bool) { } } contract cauciones { @@ -20,7 +20,7 @@ contract cauciones { modifier onlyAuthorized() { - require(admins.isVoter( msg.sender )); + require(admins.isCouncil( msg.sender )); _; } @@ -30,7 +30,7 @@ contract cauciones { { admins = Majority( admincontractaddress ); require( - admins.isVoter( msg.sender ), + admins.isCouncil( msg.sender ), "Creator of this contract must be authorized voter in the Majority voting contract." ); }