mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-12 01:29:49 -04:00
Remove unnecessary pinning
This commit is contained in:
parent
bd82ae9e98
commit
64b71d0b16
1 changed files with 0 additions and 4 deletions
|
@ -6,7 +6,6 @@ use crate::protocol::alice::event_loop::EventLoopHandle;
|
||||||
use crate::protocol::alice::TransferProof;
|
use crate::protocol::alice::TransferProof;
|
||||||
use crate::{bitcoin, monero};
|
use crate::{bitcoin, monero};
|
||||||
use anyhow::{bail, Context, Result};
|
use anyhow::{bail, Context, Result};
|
||||||
use futures::pin_mut;
|
|
||||||
|
|
||||||
pub async fn lock_xmr(
|
pub async fn lock_xmr(
|
||||||
state3: alice::State3,
|
state3: alice::State3,
|
||||||
|
@ -103,9 +102,6 @@ pub async fn wait_for_bitcoin_refund(
|
||||||
status.is_confirmed_with(punish_timelock)
|
status.is_confirmed_with(punish_timelock)
|
||||||
});
|
});
|
||||||
|
|
||||||
pin_mut!(punish_timelock_expired);
|
|
||||||
pin_mut!(seen_refund_tx);
|
|
||||||
|
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
seen_refund = seen_refund_tx => {
|
seen_refund = seen_refund_tx => {
|
||||||
match seen_refund {
|
match seen_refund {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue