Crowdsale inheritance order (#1128)

* Changed Crowdsale inheritance order.

* Changed FinalizableCrowdsale inheritance order.
This commit is contained in:
Nicolás Venturo
2018-08-02 17:57:17 -03:00
committed by Francisco Giordano
parent e77d70f8c1
commit 3d86c58d2c
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import "../validation/TimedCrowdsale.sol";
* @dev Extension of Crowdsale where an owner can do extra work
* after finishing.
*/
contract FinalizableCrowdsale is TimedCrowdsale, Ownable {
contract FinalizableCrowdsale is Ownable, TimedCrowdsale {
using SafeMath for uint256;
bool public isFinalized = false;

View File

@ -9,7 +9,7 @@ import "../../ownership/Ownable.sol";
* @title IndividuallyCappedCrowdsale
* @dev Crowdsale with per-user caps.
*/
contract IndividuallyCappedCrowdsale is Crowdsale, Ownable {
contract IndividuallyCappedCrowdsale is Ownable, Crowdsale {
using SafeMath for uint256;
mapping(address => uint256) public contributions;