mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 13:34:38 -04:00
Use Normal secp256k1::Point
This commit is contained in:
parent
fce0ca3dd2
commit
ad0d563d93
2 changed files with 4 additions and 7 deletions
|
@ -10,10 +10,7 @@ use bitcoin::{
|
|||
};
|
||||
use ecdsa_fun::{
|
||||
adaptor::Adaptor,
|
||||
fun::{
|
||||
marker::{Jacobian, Mark},
|
||||
Point, Scalar,
|
||||
},
|
||||
fun::{Point, Scalar},
|
||||
nonce::Deterministic,
|
||||
ECDSA,
|
||||
};
|
||||
|
@ -87,9 +84,9 @@ impl SecretKey {
|
|||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
||||
pub struct PublicKey(Point);
|
||||
|
||||
impl From<PublicKey> for Point<Jacobian> {
|
||||
impl From<PublicKey> for Point {
|
||||
fn from(from: PublicKey) -> Self {
|
||||
from.0.mark::<Jacobian>()
|
||||
from.0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue