Skip to content

Commit 3d7b895

Browse files
committed
fix(zkvms/zkwasm): Explicit type in argument
In certain cases, we would get errors that the "x" type cannot be inferred.
1 parent cde8452 commit 3d7b895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zkvms/zkwasm/host/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ macro_rules! build_input {
2828
}
2929
let bytes = all
3030
.into_iter()
31-
.map(|x| x.to_be_bytes())
31+
.map(|x: u64| x.to_be_bytes())
3232
.flatten()
3333
.collect::<Vec<u8>>();
3434
std::fs::write($path, bytes);

0 commit comments

Comments
 (0)