update final atomic unit in templates and upgrade dockerfile os

This commit is contained in:
lza_menace 2021-04-01 13:54:56 -07:00
parent 8c760ef528
commit 6f4eee3e81
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -32,7 +32,7 @@
<header>
<h3>Transaction Fee</h3>
</header>
<p>{% 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 %}</p>
<p>{% 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 %}</p>
</section>
</div>
<div class="col-4 col-6-medium col-12-small">