Skip to content

Commit d58d302

Browse files
committed
fix typo
1 parent a3726d8 commit d58d302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native/cairo_prover/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ fn message_digest(msg: Vec<Vec<u8>>) -> NifResult<Felt> {
382382

383383
#[rustler::nif]
384384
fn poseidon_single(x: Vec<u8>) -> NifResult<Vec<u8>> {
385-
let x_field = bytes_to_felt(padded_x)?;
385+
let x_field = bytes_to_felt(x)?;
386386
Ok(poseidon_hash_single(x_field).to_bytes_be().to_vec())
387387
}
388388

0 commit comments

Comments
 (0)