Unverified Commit 49b42e86 by Santiago Palladino Committed by GitHub

Minor change in SafeMath sub documentation

parent 21297e2b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment