Apply suggestions from code review

Co-authored-by: Daniel Karzel <daniel.karzel@coblox.tech>
pull/474/head
Philipp Hoenisch 3 years ago committed by GitHub
parent fc0cceb180
commit 26e0383e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

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

Loading…
Cancel
Save