Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix ed_on_bls12_381 deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Achim Schneider committed Jan 12, 2023
1 parent 104eea3 commit 259c6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/arkworks/src/ed_on_bls12_381.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use sp_std::{vec, vec::Vec};
/// Compute a scalar multiplication on G2 through arkworks
pub fn sw_mul_projective(base: Vec<u8>, scalar: Vec<u8>) -> Vec<u8> {
let cursor = Cursor::new(base);
let base = SWProjective::deserialize_with_mode(
let base = ark_ec::short_weierstrass::Projective::<JubjubConfig>::deserialize_with_mode(
cursor,
Compress::Yes,
Validate::No,
Expand Down

0 comments on commit 259c6d1

Please sign in to comment.