Permalink
Browse files

fixed some issue with refundvault as auditor requested

  • Loading branch information...
conejoninja committed Jun 7, 2018
1 parent e0c0d5a commit 8f91835e1e20f206590fdcc6ae55bc4e1877f522
Showing with 5 additions and 5 deletions.
  1. +1 −1 contracts/ICOPreSale.sol
  2. +1 −1 contracts/ICOTierOne.sol
  3. +3 −3 contracts/System.sol
@@ -6,7 +6,7 @@ import "./ICO.sol";
/**
* @title ICOPreSale
* @notice This contract is used to sell tokens to investors
* @author https://marketpay.io/ & https://goo.gl/kdECQu & Daniel Esteban
* @author https://marketpay.io/ & https://goo.gl/kdECQu
*/
contract ICOPreSale is ICO {
/**
@@ -6,7 +6,7 @@ import "./ICO.sol";
/**
* @title ICOPreSale
* @notice This contract is used to sell tokens to investors
* @author https://marketpay.io/ & https://goo.gl/kdECQu & Daniel Esteban
* @author https://marketpay.io/ & https://goo.gl/kdECQu
*/
contract ICOTierOne is ICO {
/**
@@ -91,10 +91,10 @@ contract System {

// @notice Calls whenever an error occurs, logs it or reverts transaction
function error(string _error) internal {
// revert(_error);
revert(_error);
// in case revert with error msg is not yet fully supported
emit Error(_error);
// throw;
// emit Error(_error);
// throw;
}

// @notice For debugging purposes when using solidity online browser, remix and sandboxes

0 comments on commit 8f91835

Please sign in to comment.