Wait for bitcoin tx finality before locking XMR

This commit is contained in:
Daniel Karzel 2021-01-05 14:31:10 +11:00
parent 30dd15774e
commit c6bc45e7a0

View File

@ -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(())
}