Skip to content

Commit 5dd38b6

Browse files
erikzhangshargon
andauthored
Update src/Neo/Cryptography/ECC/ECPoint.cs
Co-authored-by: Shargon <[email protected]>
1 parent e2ff7e4 commit 5dd38b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Neo/Cryptography/ECC/ECPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Neo.Cryptography.ECC
2626
public class ECPoint : IComparable<ECPoint>, IEquatable<ECPoint>, ISerializable, ISerializableSpan
2727
{
2828
internal ECFieldElement? X, Y;
29-
internal ECCurve Curve { get => field ??= ECCurve.Secp256r1; private init; }
29+
internal ECCurve Curve { get => field ?? ECCurve.Secp256r1; private init; }
3030
private byte[]? _compressedPoint, _uncompressedPoint;
3131

3232
/// <summary>

0 commit comments

Comments
 (0)