Commit 70a4395a by Manuel Aráoz Committed by GitHub

Merge pull request #190 from lastperson/patch-1

Remove excessive condition from SafeMath.safeAdd()
parents 22018fd3 31c05c4c
......@@ -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;
}
......
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