Skip to content

Commit

Permalink
Merge pull request #56 from rstormsf/flat_pricing_patch
Browse files Browse the repository at this point in the history
fix flat-pricing
  • Loading branch information
miohtama committed Aug 29, 2017
2 parents 5ac1100 + 5f33d6c commit e6a4670
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/FlatPricing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
*/

pragma solidity ^0.4.6;
pragma solidity ^0.4.12;

import "./PricingStrategy.sol";
import "./SafeMathLib.sol";
Expand All @@ -20,6 +20,7 @@ contract FlatPricing is PricingStrategy {
uint public oneTokenInWei;

function FlatPricing(uint _oneTokenInWei) {
require(_oneTokenInWei > 0);
oneTokenInWei = _oneTokenInWei;
}

Expand Down

0 comments on commit e6a4670

Please sign in to comment.