Skip to content

Commit

Permalink
removed __startedOn check
Browse files Browse the repository at this point in the history
  • Loading branch information
leekt committed Oct 22, 2020
1 parent a9feb87 commit 0ade4d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/ContinuousOffering.sol
Expand Up @@ -628,9 +628,7 @@ contract ContinuousOffering
{
emit StateChange(state, STATE_RUN);
state = STATE_RUN;
if(__startedOn == 0) {
__startedOn = block.timestamp;
}
__startedOn = block.timestamp;

// Math worst case:
// MAX_BEFORE_SQUARE * MAX_BEFORE_SQUARE * MAX_BEFORE_SQUARE/2
Expand Down

0 comments on commit 0ade4d6

Please sign in to comment.