Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Dec 22, 2023
1 parent 1f533a3 commit f872a9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
CMD ["/app/moksha-mint"]
2 changes: 1 addition & 1 deletion moksha-mint/src/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub struct Mint {
pub db: Arc<dyn Database + Send + Sync>,
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)]
Expand Down
8 changes: 4 additions & 4 deletions moksha-mint/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit f872a9b

Please sign in to comment.