From f872a9b1a2f37b355da866c25df4f90fa5f2c25d Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Fri, 22 Dec 2023 15:34:53 +0100 Subject: [PATCH] chore: cleanup --- Dockerfile | 4 ++-- moksha-mint/src/mint.rs | 2 +- moksha-mint/src/server.rs | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 118761c3..1f7fd26f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,11 @@ COPY --chmod=755 ./entrypoint.sh /app/entrypoint.sh USER 1000 WORKDIR /app -ENTRYPOINT ["./entrypoint.sh"] +ENTRYPOINT ["/app/entrypoint.sh"] ARG BUILDTIME ARG COMMITHASH ENV BUILDTIME ${BUILDTIME} ENV COMMITHASH ${COMMITHASH} -CMD ["./moksha-mint"] \ No newline at end of file +CMD ["/app/moksha-mint"] \ No newline at end of file diff --git a/moksha-mint/src/mint.rs b/moksha-mint/src/mint.rs index f48c97d5..dd9253cb 100644 --- a/moksha-mint/src/mint.rs +++ b/moksha-mint/src/mint.rs @@ -25,7 +25,7 @@ pub struct Mint { pub db: Arc, pub dhke: Dhke, pub lightning_fee_config: LightningFeeConfig, - pub mint_info: MintInfoSettings, + pub mint_info: MintInfoSettings, // FIXME use new mint info instead of legacy } #[derive(Clone, Debug)] diff --git a/moksha-mint/src/server.rs b/moksha-mint/src/server.rs index 1ba6aec6..13d0a95a 100644 --- a/moksha-mint/src/server.rs +++ b/moksha-mint/src/server.rs @@ -57,17 +57,17 @@ pub async fn run_server( .init(); if let Ok(buildtime) = std::env::var("BUILDTIME") { - info!("Build time: {}", buildtime); + info!("build time: {}", buildtime); } if let Ok(commithash) = std::env::var("COMMITHASH") { - info!("Commit hash: {}", commithash); + info!("git commit-hash: {}", commithash); } if let Some(ref serve_wallet_path) = serve_wallet_path { info!("serving wallet from path: {:?}", serve_wallet_path); } info!("listening on: {}", addr); - info!("mint_info: {:?}", mint.mint_info); - info!("lightning_backend: {}", mint.lightning_type); + info!("mint-info (legacy): {:?}", mint.mint_info); + info!("lightning-backend: {}", mint.lightning_type); let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();