Skip to content

Commit

Permalink
Impl Into<ProjectivePoint> for EcPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kettlebell committed Dec 4, 2023
1 parent 61c2a63 commit 5d296c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ergo-chain-types/src/ec_point.rs
@@ -1,6 +1,6 @@
//! Elliptic curve point.

use derive_more::From;
use derive_more::{From, Into};
use k256::elliptic_curve::group::prime::PrimeCurveAffine;
use k256::elliptic_curve::sec1::ToEncodedPoint;
use k256::{ProjectivePoint, PublicKey, Scalar};
Expand All @@ -10,7 +10,7 @@ use std::convert::TryFrom;
use std::ops::{Add, Mul, Neg};

/// Elliptic curve point
#[derive(PartialEq, Clone, Default, From)]
#[derive(PartialEq, Clone, Default, From, Into)]
#[cfg_attr(
feature = "json",
derive(serde::Serialize, serde::Deserialize),
Expand Down

0 comments on commit 5d296c6

Please sign in to comment.