diff --git a/swap/src/protocol/alice/steps.rs b/swap/src/protocol/alice/steps.rs index eec8a86b..192ca522 100644 --- a/swap/src/protocol/alice/steps.rs +++ b/swap/src/protocol/alice/steps.rs @@ -6,7 +6,6 @@ use crate::protocol::alice::event_loop::EventLoopHandle; use crate::protocol::alice::TransferProof; use crate::{bitcoin, monero}; use anyhow::{bail, Context, Result}; -use futures::pin_mut; pub async fn lock_xmr( state3: alice::State3, @@ -103,9 +102,6 @@ pub async fn wait_for_bitcoin_refund( status.is_confirmed_with(punish_timelock) }); - pin_mut!(punish_timelock_expired); - pin_mut!(seen_refund_tx); - tokio::select! { seen_refund = seen_refund_tx => { match seen_refund {