diff --git a/Crowdsale.sol b/Crowdsale.sol index 88b406c..5ebe153 100644 --- a/Crowdsale.sol +++ b/Crowdsale.sol @@ -124,7 +124,7 @@ contract Crowdsale is Ownable { require(soldTokens <= hardCapInTokens); - if (soldTokens == hardCapInTokens) { + if (soldTokens >= (hardCapInTokens - GEE100)) { endBlockNumber = blocks; } diff --git a/README.md b/README.md index 380655d..8fb890e 100644 --- a/README.md +++ b/README.md @@ -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; }