Apply suggestions from code review

Co-authored-by: Daniel Karzel <daniel.karzel@coblox.tech>
This commit is contained in:
Philipp Hoenisch 2021-05-11 16:06:44 +10:00 committed by GitHub
parent fc0cceb180
commit 26e0383e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -106,7 +106,7 @@ pub fn read_config(config_path: PathBuf) -> Result<Result<Config, ConfigNotIniti
if config_path.exists() {
info!(
path = %config_path.display(),
"Using config file at path",
"Using config file at",
);
} else {
return Ok(Err(ConfigNotInitialized {}));

View File

@ -91,7 +91,7 @@ async fn main() -> 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");

View File

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

View File

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