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; }