From 6f4eee3e8174031cf121a4e0ec5f7bcf80bcc266 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 1 Apr 2021 13:54:56 -0700 Subject: [PATCH] update final atomic unit in templates and upgrade dockerfile os --- Dockerfile | 4 ++-- templates/transaction.html.tera | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 63aa5c6..dac16b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:19.10 as builder +FROM ubuntu:20.04 as builder # Install required packages RUN apt-get update && apt-get install -y build-essential @@ -26,7 +26,7 @@ RUN sed -i 's_dummy.rs_src/main.rs_' Cargo.toml COPY src src RUN ~/.cargo/bin/cargo build --release -FROM ubuntu:19.10 +FROM ubuntu:20.04 COPY --from=builder /srv/wownero-explorer/target/release/wownero-explorer /bin/wownero-explorer COPY static static COPY templates templates diff --git a/templates/transaction.html.tera b/templates/transaction.html.tera index 88e0ba6..650050c 100644 --- a/templates/transaction.html.tera +++ b/templates/transaction.html.tera @@ -32,7 +32,7 @@

Transaction Fee

-

{% if tx_info.0.as_json_full.rct_signatures.txnFee %}{{ tx_info.0.as_json_full.rct_signatures.txnFee / 100000000000 }} WOW{% else %}0 (mined){% endif %}

+

{% if tx_info.0.as_json_full.rct_signatures.txnFee %}{{ tx_info.0.as_json_full.rct_signatures.txnFee / 10000000000 }} WOW{% else %}0 (mined){% endif %}