Skip to content

Commit

Permalink
fix isFinished() call
Browse files Browse the repository at this point in the history
  • Loading branch information
RostyslavBortman committed Jul 24, 2018
1 parent 0423ce6 commit bc885c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/governance/Voting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract Voting is IVoting, Ownable {

function vote(bool _isYes) public{
store.libVote(msg.sender, _isYes);
if(store.isFinished(store)){
if(store.isFinished()){
StdDaoToken(store.tokenAddress).finishVoting(store.votingID);
}
}
Expand Down

0 comments on commit bc885c3

Please sign in to comment.