Browse Source

Improved SafeMath inline comments.

Nicolás Venturo 7 years ago
parent
commit
a2e7103869
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/math/SafeMath.sol

+ 1 - 1
contracts/math/SafeMath.sol

@@ -25,7 +25,7 @@ library SafeMath {
   }
 
   /**
-  * @dev Integer division of two numbers, truncating the quotient.
+  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
   */
   function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
     require(_b > 0); // Solidity only automatically asserts when dividing by 0