Compare commits
No commits in common. "master" and "extendableICO" have entirely different histories.
master
...
extendable
|
@ -183,7 +183,3 @@ and considering our promodates which are:
|
|||
| Bonus1 | 2 | 275 |
|
||||
| Bonus2 | 3 | 250 |
|
||||
| ICO | 5 | 225 |
|
||||
|
||||
## Contract Devs
|
||||
|
||||
* [David E. Perez Negron R.](mailto:david@neetsec.com)
|
||||
|
|
|
@ -156,8 +156,6 @@ contract DECA is ERC20, Ownable {
|
|||
//Add weeks in case ICO gets not enough funds
|
||||
function appendWeeks(uint addWeeks ) public onlyOwner {
|
||||
require(now >= bonus2Ends && now < endDate);
|
||||
// Fix Integer Overflow / Underflow
|
||||
require(endDate < (endDate + (addWeeks * 1 weeks)));
|
||||
// add weeks to the endDate
|
||||
endDate += (addWeeks * 1 weeks);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue