mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-03 20:14:29 -04:00
Take wallet names by reference
We are always passing constants here. Make that more ergonomic.
This commit is contained in:
parent
22bdc08c83
commit
dc840e1562
3 changed files with 6 additions and 10 deletions
|
@ -195,12 +195,10 @@ async fn init_monero_container(
|
|||
Monero,
|
||||
Vec<Container<'_, Cli, monero_harness::image::Monero>>,
|
||||
) {
|
||||
let (monero, monerods) = Monero::new(&cli, vec![
|
||||
MONERO_WALLET_NAME_ALICE.to_owned(),
|
||||
MONERO_WALLET_NAME_BOB.to_owned(),
|
||||
])
|
||||
.await
|
||||
.unwrap();
|
||||
let (monero, monerods) =
|
||||
Monero::new(&cli, vec![MONERO_WALLET_NAME_ALICE, MONERO_WALLET_NAME_BOB])
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
(monero, monerods)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue