mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 07:29:32 -05:00
Reorder calls
This commit is contained in:
parent
a24d1a49b9
commit
9323f22009
@ -190,10 +190,9 @@ async fn alice_safe_restart_after_btc_is_locked() {
|
|||||||
try_join(alice_swap, bob_swap).await.unwrap();
|
try_join(alice_swap, bob_swap).await.unwrap();
|
||||||
|
|
||||||
let btc_alice_final = alice_btc_wallet.balance().await.unwrap();
|
let btc_alice_final = alice_btc_wallet.balance().await.unwrap();
|
||||||
let btc_bob_final = bob_btc_wallet.balance().await.unwrap();
|
|
||||||
|
|
||||||
let xmr_alice_final = alice_xmr_wallet.get_balance().await.unwrap();
|
let xmr_alice_final = alice_xmr_wallet.get_balance().await.unwrap();
|
||||||
|
|
||||||
|
let btc_bob_final = bob_btc_wallet.balance().await.unwrap();
|
||||||
bob_xmr_wallet.0.refresh().await.unwrap();
|
bob_xmr_wallet.0.refresh().await.unwrap();
|
||||||
let xmr_bob_final = bob_xmr_wallet.get_balance().await.unwrap();
|
let xmr_bob_final = bob_xmr_wallet.get_balance().await.unwrap();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user