Update xmr-btc lib to use new monero-harness

This commit is contained in:
Philipp Hoenisch 2020-11-02 21:12:38 +11:00
parent 2d064f305f
commit 0b9e8c145e
No known key found for this signature in database
GPG key ID: E5F8E74C672BC666
7 changed files with 113 additions and 46 deletions

View file

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