Minor change in SafeMath sub documentation

This commit is contained in:
Santiago Palladino
2018-01-15 15:44:06 -03:00
committed by GitHub
parent 21297e2b2c
commit 49b42e8696

View File

@ -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);