Skip to content

Commit 4457010

Browse files
authored
fix: from_affine_point infinity definition (#542)
1 parent 56fe578 commit 4457010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starknet-curve/src/ec_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ impl ProjectivePoint {
147147
x: p.x,
148148
y: p.y,
149149
z: FieldElement::ONE,
150-
infinity: false,
150+
infinity: p.infinity,
151151
}
152152
}
153153

0 commit comments

Comments
 (0)