Fix typos

On unrelated note, why on earth check like in safeAdd? Is it actually an overflow check?
This commit is contained in:
jtakalai
2017-01-17 12:29:54 +02:00
committed by GitHub
parent 2de7fec6dc
commit 67ad6abdaa

View File

@ -13,12 +13,12 @@ safeMul(uint a, uint b) internal returns (uint)
Multiplies two unisgned integers. Asserts that dividing the product by the non-zero multiplicand results in the multiplier.
safeSub(uint a, unit b) internal returns (uint)
safeSub(uint a, uint b) internal returns (uint)
"""""""""""""""""""""""""""""""""""""""""""""""""
Checks that b is not greater than a before subtracting.
safeAdd(unit a, unit b) internal returns (uint)
safeAdd(uint a, uint b) internal returns (uint)
"""""""""""""""""""""""""""""""""""""""""""""""""
Checks that the result is greater than both a and b.
Checks that the result is greater than both a and b.