From 66a3529da1d4e5631e2b298266cfa8ec524c43a1 Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@nic.ar> Date: Fri, 19 Jul 2019 10:56:07 -0300 Subject: [PATCH] function en Majority cambio de nombre --- SmartContract/cauciones.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SmartContract/cauciones.sol b/SmartContract/cauciones.sol index ecb1f28..a9fad06 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." ); } -- GitLab