Skip to content

Commit

Permalink
Hardcap end improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
maciukaite committed Oct 31, 2017
1 parent 21c7f88 commit 7c88f4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Crowdsale.sol
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ contract Crowdsale is Ownable {

require(soldTokens <= hardCapInTokens);

if (soldTokens == hardCapInTokens) {
if (soldTokens >= (hardCapInTokens - GEE100)) {
endBlockNumber = blocks;
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ If the Crowdsale ends and the hard cap is not reached, this functions burns the

require(soldTokens <= hardCapInTokens);

if (soldTokens == hardCapInTokens) {
if (soldTokens >= (hardCapInTokens - GEE100)) {
endBlockNumber = blocks;
}

Expand Down

0 comments on commit 7c88f4b

Please sign in to comment.