Browse Source

Minor change in SafeMath sub documentation

Santiago Palladino 7 years ago
parent
commit
49b42e8696
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/math/SafeMath.sol

+ 1 - 1
contracts/math/SafeMath.sol

@@ -30,7 +30,7 @@ library SafeMath {
   }
 
   /**
-  * @dev Substracts two numbers, throws if subtrahend is greater than minuend.
+  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
   */
   function sub(uint256 a, uint256 b) internal pure returns (uint256) {
     assert(b <= a);