mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-06-22 05:44:37 -04:00
Update xmr-btc lib to use new monero-harness
This commit is contained in:
parent
2d064f305f
commit
0b9e8c145e
7 changed files with 113 additions and 46 deletions
|
@ -132,8 +132,8 @@ pub async fn init_test(
|
|||
let fund_bob = 0;
|
||||
monero.init(fund_alice, fund_bob).await.unwrap();
|
||||
|
||||
let alice_monero_wallet = wallet::monero::Wallet(monero.alice_wallet_rpc_client());
|
||||
let bob_monero_wallet = wallet::monero::Wallet(monero.bob_wallet_rpc_client());
|
||||
let alice_monero_wallet = wallet::monero::Wallet(monero.wallet("alice").unwrap().inner());
|
||||
let bob_monero_wallet = wallet::monero::Wallet(monero.wallet("bob").unwrap().inner());
|
||||
|
||||
let alice_btc_wallet = wallet::bitcoin::Wallet::new("alice", &bitcoind.node_url)
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue