From 26e0383e173f6c1d7fd364edf2c4cb9f1c82adc0 Mon Sep 17 00:00:00 2001 From: Philipp Hoenisch Date: Tue, 11 May 2021 16:06:44 +1000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Daniel Karzel --- swap/src/asb/config.rs | 2 +- swap/src/bin/asb.rs | 2 +- swap/src/bitcoin/wallet.rs | 2 +- swap/src/monero/wallet_rpc.rs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/swap/src/asb/config.rs b/swap/src/asb/config.rs index 6e956f2d..f1709964 100644 --- a/swap/src/asb/config.rs +++ b/swap/src/asb/config.rs @@ -106,7 +106,7 @@ pub fn read_config(config_path: PathBuf) -> Result Result<()> { let monero_address = monero_wallet.get_main_address(); warn!( %monero_address, - "The Monero balance is 0, make sure to deposit funds", + "The Monero balance is 0, make sure to deposit funds at", ) } else { info!(%monero_balance, "Initialized Monero wallet"); diff --git a/swap/src/bitcoin/wallet.rs b/swap/src/bitcoin/wallet.rs index 8bf9db7c..f1cbce60 100644 --- a/swap/src/bitcoin/wallet.rs +++ b/swap/src/bitcoin/wallet.rs @@ -161,7 +161,7 @@ impl Wallet { }; if Some(new_status) != last_status { - tracing::debug!(%txid, status = %new_status, "Transaction status"); + tracing::debug!(%txid, status = %new_status, "Transaction"); } last_status = Some(new_status); diff --git a/swap/src/monero/wallet_rpc.rs b/swap/src/monero/wallet_rpc.rs index 216d1120..f84a943f 100644 --- a/swap/src/monero/wallet_rpc.rs +++ b/swap/src/monero/wallet_rpc.rs @@ -122,8 +122,8 @@ impl WalletRpc { .port(); tracing::debug!( - monero_wallet_rpc_port = %port, - "Starting monero-wallet-rpc on port" + %port, + "Starting monero-wallet-rpc on" ); let mut child = Command::new(self.exec_path())