mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-19 15:10:34 -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")?;
|
||||
|
||||
// // We saw the transaction in the mempool, waiting for it to be confirmed.
|
||||
// bitcoin_wallet
|
||||
// .wait_for_transaction_finality(lock_bitcoin_txid, config)
|
||||
// .await;
|
||||
bitcoin_wallet
|
||||
.wait_for_transaction_finality(lock_bitcoin_txid, config)
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue