mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Update to latest monero-rs version
This commit is contained in:
parent
d1b00f6ee2
commit
e35e5c7939
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2265,7 +2265,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "monero"
|
||||
version = "0.12.0"
|
||||
source = "git+https://github.com/comit-network/monero-rs?branch=expose-commitment#c344cf7b46651ddd4d0713317cfba0031892c29c"
|
||||
source = "git+https://github.com/comit-network/monero-rs?branch=open-outputs#9f93483d9b648cdbe4a4e0db2c5b0b306473b424"
|
||||
dependencies = [
|
||||
"base58-monero",
|
||||
"clear_on_drop",
|
||||
|
@ -3,4 +3,4 @@ members = ["monero-adaptor", "monero-harness", "monero-rpc", "swap", "monero-wal
|
||||
|
||||
[patch.crates-io]
|
||||
torut = { git = "https://github.com/bonomat/torut/", branch = "feature-flag-tor-secret-keys", default-features = false, features = [ "v3", "control" ] }
|
||||
monero = { git = "https://github.com/comit-network/monero-rs", branch = "expose-commitment" }
|
||||
monero = { git = "https://github.com/comit-network/monero-rs", branch = "open-outputs" }
|
||||
|
@ -63,7 +63,7 @@ async fn monerod_integration_test() {
|
||||
.unwrap()
|
||||
.pop()
|
||||
.unwrap();
|
||||
let global_output_index = output_indices[input_to_spend.index];
|
||||
let global_output_index = output_indices[input_to_spend.index()];
|
||||
|
||||
let (lower, upper) = client.calculate_key_offset_boundaries().await.unwrap();
|
||||
|
||||
|
@ -73,10 +73,10 @@ impl ConfidentialTransactionBuilder {
|
||||
actual_signing_key,
|
||||
signing_pk,
|
||||
H_p_pk: hash_point_to_point(signing_pk),
|
||||
input_commitment: input_to_spend.commitment.unwrap(), // TODO: Error handling
|
||||
spend_amount: input_to_spend.amount.unwrap(), // TODO: Error handling,
|
||||
input_commitment: input_to_spend.commitment().unwrap(), // TODO: Error handling
|
||||
spend_amount: input_to_spend.amount().unwrap(), // TODO: Error handling,
|
||||
global_output_index,
|
||||
real_commitment_blinder: input_to_spend.blinding_factor.unwrap(), // TODO: Error handling
|
||||
real_commitment_blinder: input_to_spend.blinding_factor().unwrap(), // TODO: Error handling
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user