From 49b42e86963df7192e7024e0e5bd30fa9d7ccbef Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Mon, 15 Jan 2018 15:44:06 -0300 Subject: [PATCH] Minor change in SafeMath sub documentation --- contracts/math/SafeMath.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/math/SafeMath.sol b/contracts/math/SafeMath.sol index d490dbe79bd..027379b3a92 100644 --- a/contracts/math/SafeMath.sol +++ b/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);