diff --git a/starknet-curve/src/ec_point.rs b/starknet-curve/src/ec_point.rs index 23298253..bed03873 100644 --- a/starknet-curve/src/ec_point.rs +++ b/starknet-curve/src/ec_point.rs @@ -147,7 +147,7 @@ impl ProjectivePoint { x: p.x, y: p.y, z: FieldElement::ONE, - infinity: false, + infinity: p.infinity, } }