Skip to content

Commit

Permalink
chore: fix the type
Browse files Browse the repository at this point in the history
  • Loading branch information
duguorong009 committed Dec 22, 2023
1 parent c917ca9 commit 9922e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secp256k1/curve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ pub(crate) fn iso_map_secp256k1(rp: IsoSecp256k1) -> Secp256k1 {
let x = x_num * x_den.invert().unwrap();
let y = y * (y_num * y_den.invert().unwrap());

Secp256k1::new_jacobian(x, y, <Secp256k1 as CurveExt>::Base::ONE).unwrap()
Secp256k1::new_jacobian(x, y, Fp::ONE).unwrap()
}

#[cfg(test)]
Expand Down

0 comments on commit 9922e91

Please sign in to comment.