Last tabulation condition was incorrect

This commit is contained in:
Richard Ramos 2018-06-25 10:25:15 -04:00
parent e160a028cf
commit 93d96c07da
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ contract ProposalManager is Controlled {
public
{
Proposal storage proposal = proposals[_proposalId];
require(proposal.lastTabulationTimestamp + tabulationBlockDelay > block.number);
require(proposal.lastTabulationTimestamp + tabulationBlockDelay < block.timestamp);
require(proposal.result == Vote.Null);
uint256 totalTokens = token.totalSupplyAt(proposal.voteBlockEnd);
uint256 approvals = proposal.results[uint8(Vote.Approve)];