Log Bitcoin and Monero transaction IDs on info instead of debug

pull/115/head
Daniel Karzel 3 years ago
parent 0977d36703
commit 30dd15774e

@ -106,7 +106,7 @@ impl SignTxLock for Wallet {
impl BroadcastSignedTransaction for Wallet {
async fn broadcast_signed_transaction(&self, transaction: Transaction) -> Result<Txid> {
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)
}
}

@ -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);

Loading…
Cancel
Save