Remove Alice and Bob from utility struct

This commit is contained in:
Philipp Hoenisch 2020-11-03 11:46:25 +11:00
parent 306176b3e6
commit f0fbe785c8
No known key found for this signature in database
GPG key ID: E5F8E74C672BC666
4 changed files with 35 additions and 50 deletions

View file

@ -130,7 +130,10 @@ pub async fn init_test(
let fund_alice = TEN_XMR;
let fund_bob = 0;
monero.init(fund_alice, fund_bob).await.unwrap();
monero
.init(vec![("alice", fund_alice), ("bob", fund_bob)])
.await
.unwrap();
let alice_monero_wallet = wallet::monero::Wallet(monero.wallet("alice").unwrap().inner());
let bob_monero_wallet = wallet::monero::Wallet(monero.wallet("bob").unwrap().inner());