From c7a09ffbfcccc81411220a1fdd9d121d8d01c733 Mon Sep 17 00:00:00 2001 From: softsimon Date: Fri, 24 Jul 2020 11:49:36 +0700 Subject: [PATCH] Display correct BTC unit depending on network. --- .../components/address/address.component.html | 22 ++++--------------- .../mempool-block.component.html | 2 +- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/frontend/src/app/components/address/address.component.html b/frontend/src/app/components/address/address.component.html index 95f3daa7e..a28cb13b2 100644 --- a/frontend/src/app/components/address/address.component.html +++ b/frontend/src/app/components/address/address.component.html @@ -15,32 +15,18 @@
- + - + - + - - - - - - - - - - - - - - - +
Total received{{ receieved / 100000000 | number: '1.8-8' }} L-BTC
Total sent{{ sent / 100000000 | number: '1.8-8' }} L-BTC
Balance{{ (receieved - sent) / 100000000 | number: '1.8-8' }} L-BTC ()
Total receivedConfidential
Total sentConfidential
BalanceConfidential ()
diff --git a/frontend/src/app/components/mempool-block/mempool-block.component.html b/frontend/src/app/components/mempool-block/mempool-block.component.html index 91406c593..13893ccc8 100644 --- a/frontend/src/app/components/mempool-block/mempool-block.component.html +++ b/frontend/src/app/components/mempool-block/mempool-block.component.html @@ -22,7 +22,7 @@ Total fees - {{ mempoolBlock.totalFees / 100000000 | number : '1.2-2' }} L-BTC () + () Transactions