Skip to content
Prev Previous commit
Next Next commit
fmt
  • Loading branch information
Hakkush-07 committed Jul 17, 2025
commit bf620a1d2da38a40628e325a846cdef73229183e
3 changes: 1 addition & 2 deletions bitvm/src/bigint/std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ impl<const N_BITS: u32, const LIMB_SIZE: u32> BigIntImpl<N_BITS, LIMB_SIZE> {
while !bits[ms_one] {
if ms_one != 0 {
ms_one -= 1;
}
else {
} else {
break;
}
}
Expand Down
6 changes: 2 additions & 4 deletions bitvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,9 @@ fn execute_script_buf_optional_stack_limit(
for (i, a) in exec.stack().iter_str().enumerate() {
Comment thread
Hakkush-07 marked this conversation as resolved.
Resolved
if i % 32 == 31 {
println!(", {:?}", a);
}
else if i % 32 == 0 {
} else if i % 32 == 0 {
print!("stack[{}]: {:?}", i / 32, a);
}
else {
} else {
print!(", {:?}", a);
}
}
Expand Down