mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-19 23:20:30 -04:00
Wait for bitcoin tx finality before locking XMR
This commit is contained in:
parent
30dd15774e
commit
c6bc45e7a0
1 changed files with 3 additions and 3 deletions
|
@ -105,9 +105,9 @@ where
|
||||||
.context("Failed to find lock Bitcoin tx")?;
|
.context("Failed to find lock Bitcoin tx")?;
|
||||||
|
|
||||||
// // We saw the transaction in the mempool, waiting for it to be confirmed.
|
// // We saw the transaction in the mempool, waiting for it to be confirmed.
|
||||||
// bitcoin_wallet
|
bitcoin_wallet
|
||||||
// .wait_for_transaction_finality(lock_bitcoin_txid, config)
|
.wait_for_transaction_finality(lock_bitcoin_txid, config)
|
||||||
// .await;
|
.await?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue