From 30dd15774e522d98fd18d12d83234b1f5c59e453 Mon Sep 17 00:00:00 2001 From: Daniel Karzel Date: Tue, 5 Jan 2021 14:11:26 +1100 Subject: [PATCH] Log Bitcoin and Monero transaction IDs on info instead of debug --- swap/src/bitcoin.rs | 2 +- swap/src/monero.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/swap/src/bitcoin.rs b/swap/src/bitcoin.rs index 972140eb..0f76064f 100644 --- a/swap/src/bitcoin.rs +++ b/swap/src/bitcoin.rs @@ -106,7 +106,7 @@ impl SignTxLock for Wallet { impl BroadcastSignedTransaction for Wallet { async fn broadcast_signed_transaction(&self, transaction: Transaction) -> Result { 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) } } diff --git a/swap/src/monero.rs b/swap/src/monero.rs index 7c90c7b8..51111003 100644 --- a/swap/src/monero.rs +++ b/swap/src/monero.rs @@ -46,7 +46,7 @@ impl Transfer for Wallet { .await?; 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 fee = Amount::from_piconero(res.fee);