mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-22 07:39:56 -05:00
Use correct amount in EcdhInfo
This commit is contained in:
parent
523ee6088c
commit
3f0f97b9ba
@ -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_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(
|
||||
&mut rng,
|
||||
|
Loading…
x
Reference in New Issue
Block a user