diff --git a/contracts/governance/Voting_SimpleToken.sol b/contracts/governance/Voting_SimpleToken.sol index 6d60625..2c930c4 100644 --- a/contracts/governance/Voting_SimpleToken.sol +++ b/contracts/governance/Voting_SimpleToken.sol @@ -153,7 +153,7 @@ contract Voting_SimpleToken is IVoting, Ownable { _callActionIfEnded(); } - function callActionIfEnded() external { + function callActionIfEnded() public { if(!finishedWithYes && _isFinished() && _isYes()){ // should not be callable again!!! finishedWithYes = true;