diff --git a/contracts/SafeMath.sol b/contracts/SafeMath.sol index 0d7c160e5..cf4091220 100644 --- a/contracts/SafeMath.sol +++ b/contracts/SafeMath.sol @@ -12,9 +12,9 @@ library SafeMath { } function div(uint a, uint b) internal returns (uint) { - assert(b > 0); + // assert(b > 0); // Solidity automatically throws when dividing by 0 uint c = a / b; - assert(a == b * c + a % b); + // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; }