mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-26 17:41:18 -05:00
Log Bitcoin and Monero transaction IDs on info instead of debug
This commit is contained in:
parent
0977d36703
commit
30dd15774e
@ -106,7 +106,7 @@ impl SignTxLock for Wallet {
|
|||||||
impl BroadcastSignedTransaction for Wallet {
|
impl BroadcastSignedTransaction for Wallet {
|
||||||
async fn broadcast_signed_transaction(&self, transaction: Transaction) -> Result<Txid> {
|
async fn broadcast_signed_transaction(&self, transaction: Transaction) -> Result<Txid> {
|
||||||
let txid = self.inner.send_raw_transaction(transaction).await?;
|
let txid = self.inner.send_raw_transaction(transaction).await?;
|
||||||
tracing::debug!("Bitcoin tx broadcasted! TXID = {}", txid);
|
tracing::info!("Bitcoin tx broadcasted! TXID = {}", txid);
|
||||||
Ok(txid)
|
Ok(txid)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ impl Transfer for Wallet {
|
|||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
let tx_hash = TxHash(res.tx_hash);
|
let tx_hash = TxHash(res.tx_hash);
|
||||||
tracing::debug!("Monero tx broadcasted!, tx hash: {:?}", tx_hash);
|
tracing::info!("Monero tx broadcasted!, tx hash: {:?}", tx_hash);
|
||||||
let tx_key = PrivateKey::from_str(&res.tx_key)?;
|
let tx_key = PrivateKey::from_str(&res.tx_key)?;
|
||||||
|
|
||||||
let fee = Amount::from_piconero(res.fee);
|
let fee = Amount::from_piconero(res.fee);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user