mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-27 11:10:31 -05:00
Use pin_mut! instead of futures::pin_mut!
This commit is contained in:
parent
aa2a20916e
commit
1d21ae7e7a
2 changed files with 5 additions and 5 deletions
|
|
@ -17,7 +17,7 @@ use ecdsa_fun::{
|
|||
};
|
||||
use futures::{
|
||||
future::{select, Either},
|
||||
FutureExt,
|
||||
pin_mut, FutureExt,
|
||||
};
|
||||
use genawaiter::sync::{Gen, GenBoxed};
|
||||
use rand::{CryptoRng, RngCore};
|
||||
|
|
@ -139,7 +139,7 @@ where
|
|||
tx_lock_height + refund_timelock,
|
||||
)
|
||||
.shared();
|
||||
futures::pin_mut!(poll_until_btc_has_expired);
|
||||
pin_mut!(poll_until_btc_has_expired);
|
||||
|
||||
let transfer_proof = match select(
|
||||
network.receive_transfer_proof(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue