diff --git a/xmr-btc/Cargo.toml b/xmr-btc/Cargo.toml index 0b6cf7e7..3e1457de 100644 --- a/xmr-btc/Cargo.toml +++ b/xmr-btc/Cargo.toml @@ -8,9 +8,9 @@ edition = "2018" anyhow = "1" async-trait = "0.1" bitcoin = { version = "0.23", features = ["rand"] } -cross-curve-dleq = { git = "https://github.com/comit-network/cross-curve-dleq", rev = "a3e57a70d332b4ce9600663453b9bd02936d76bf" } +cross-curve-dleq = { git = "https://github.com/comit-network/cross-curve-dleq", rev = "49171f5e08473d46f951fb1fc338fe437d974d3c" } curve25519-dalek = "2" -ecdsa_fun = { version = "0.3.1", features = ["libsecp_compat"] } +ecdsa_fun = { git = "https://github.com/LLFourn/secp256kfun", rev = "510d48ef6a2b19805f7f5c70c598e5b03f668e7a", features = ["libsecp_compat"] } ed25519-dalek = "1.0.0-pre.4" # Cannot be 1 because they depend on curve25519-dalek version 3 futures = "0.3" genawaiter = "0.99.1" diff --git a/xmr-btc/src/alice.rs b/xmr-btc/src/alice.rs index a8a1ea20..9b398464 100644 --- a/xmr-btc/src/alice.rs +++ b/xmr-btc/src/alice.rs @@ -188,7 +188,7 @@ impl State0 { pub fn receive(self, msg: bob::Message0) -> Result { msg.dleq_proof_s_b.verify( - &msg.S_b_bitcoin.clone().into(), + msg.S_b_bitcoin.clone().into(), msg.S_b_monero .point .decompress() diff --git a/xmr-btc/src/bob.rs b/xmr-btc/src/bob.rs index 55099ed6..2b62c749 100644 --- a/xmr-btc/src/bob.rs +++ b/xmr-btc/src/bob.rs @@ -160,7 +160,7 @@ impl State0 { W: BuildTxLockPsbt, { msg.dleq_proof_s_a.verify( - &msg.S_a_bitcoin.clone().into(), + msg.S_a_bitcoin.clone().into(), msg.S_a_monero .point .decompress()