From 67ad6abdaaa111cf3a7acd0be97fef8bcb6ace1e Mon Sep 17 00:00:00 2001 From: jtakalai Date: Tue, 17 Jan 2017 12:29:54 +0200 Subject: [PATCH] Fix typos On unrelated note, why on earth check like in safeAdd? Is it actually an overflow check? --- docs/source/safemath.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/safemath.rst b/docs/source/safemath.rst index fcb21e467..c1f9cc18c 100644 --- a/docs/source/safemath.rst +++ b/docs/source/safemath.rst @@ -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. \ No newline at end of file +Checks that the result is greater than both a and b.