From c89c78d2d90282c92b38d9cc0387f2baa68528bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mamy=20Andr=C3=A9-Ratsimbazafy?= Date: Sun, 13 Dec 2020 18:57:23 +0100 Subject: [PATCH] Typo Borrow instead of Carry in return type --- constantine/arithmetic/limbs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constantine/arithmetic/limbs.nim b/constantine/arithmetic/limbs.nim index 4229b99..82cb6e3 100644 --- a/constantine/arithmetic/limbs.nim +++ b/constantine/arithmetic/limbs.nim @@ -250,7 +250,7 @@ func cadd*(a: var Limbs, b: Limbs, ctl: SecretBool): Carry = result = t.add(b) a.ccopy(t, ctl) -func cadd*(a: var Limbs, w: SecretWord, ctl: SecretBool): Borrow = +func cadd*(a: var Limbs, w: SecretWord, ctl: SecretBool): Carry = ## Limbs conditional addition, sub a number that fits in a word ## Returns the borrow var t = a