Update to latest monero-rs version

This commit is contained in:
Thomas Eizinger 2021-05-17 17:18:02 +10:00
parent d1b00f6ee2
commit e35e5c7939
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
4 changed files with 6 additions and 6 deletions

2
Cargo.lock generated
View File

@ -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",

View File

@ -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" }

View File

@ -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();

View File

@ -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
}
}