Commit 66a3529d authored by Robert Martin-Legene's avatar Robert Martin-Legene

function en Majority cambio de nombre

parent 335ec71b
......@@ -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."
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment