mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Remove unnecessary pinning
This commit is contained in:
parent
bd82ae9e98
commit
64b71d0b16
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user