From 79d2beb42aaeb1bec47031b55f723cedadf5d54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Wed, 9 Mar 2016 11:50:35 +0100 Subject: [PATCH] Same bug in full_mul --- util/bigint/src/uint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/bigint/src/uint.rs b/util/bigint/src/uint.rs index 69aaa5809..698b12f42 100644 --- a/util/bigint/src/uint.rs +++ b/util/bigint/src/uint.rs @@ -1275,7 +1275,7 @@ impl U256 { let (b_u, b_l) = split(you[i]); for j in 0..4 { - if me[j] == 0 { + if me[j] == 0 && carry2 == 0 { continue; }