mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-11 00:59:47 -04:00
Use correct amount in EcdhInfo
This commit is contained in:
parent
523ee6088c
commit
3f0f97b9ba
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ async fn monerod_integration_test() {
|
||||||
let (ecdh_info_0, out_blinding_0) = EcdhInfo::new_bulletproof(spend_amount, ecdh_key_0.scalar);
|
let (ecdh_info_0, out_blinding_0) = EcdhInfo::new_bulletproof(spend_amount, ecdh_key_0.scalar);
|
||||||
|
|
||||||
let ecdh_key_1 = PrivateKey::random(&mut rng);
|
let ecdh_key_1 = PrivateKey::random(&mut rng);
|
||||||
let (ecdh_info_1, out_blinding_1) = EcdhInfo::new_bulletproof(spend_amount, ecdh_key_1.scalar);
|
let (ecdh_info_1, out_blinding_1) = EcdhInfo::new_bulletproof(0, ecdh_key_1.scalar);
|
||||||
|
|
||||||
let (bulletproof, out_pk) = monero::make_bulletproof(
|
let (bulletproof, out_pk) = monero::make_bulletproof(
|
||||||
&mut rng,
|
&mut rng,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue