Merge pull request #190 from lastperson/patch-1

Remove excessive condition from SafeMath.safeAdd()
This commit is contained in:
Manuel Aráoz
2017-04-12 19:11:55 -03:00
committed by GitHub

View File

@ -25,7 +25,7 @@ contract SafeMath {
function safeAdd(uint a, uint b) internal returns (uint) {
uint c = a + b;
assert(c>=a && c>=b);
assert(c >= a);
return c;
}