From 52e2d364dd98fa6ee82e5b269c1f15f0dd7a009e Mon Sep 17 00:00:00 2001 From: softsimon Date: Sat, 11 Apr 2020 23:23:39 +0700 Subject: [PATCH] Changing sats to sat. --- frontend/src/app/components/block/block.component.html | 2 +- .../blockchain-blocks/blockchain-blocks.component.html | 2 +- .../components/mempool-block/mempool-block.component.html | 2 +- .../mempool-blocks/mempool-blocks.component.html | 4 ++-- .../components/mempool-graph/mempool-graph.component.ts | 6 +++--- .../app/components/transaction/transaction.component.html | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/app/components/block/block.component.html b/frontend/src/app/components/block/block.component.html index 5599697a0..3f4ac5d30 100644 --- a/frontend/src/app/components/block/block.component.html +++ b/frontend/src/app/components/block/block.component.html @@ -44,7 +44,7 @@ Median fee - ~{{ block.medianFee | number:'1.0-0' }} sats/vB () + ~{{ block.medianFee | number:'1.0-0' }} sat/vB () diff --git a/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.html b/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.html index 60ab5bdc7..5f77b42d0 100644 --- a/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.html +++ b/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.html @@ -7,7 +7,7 @@
- ~{{ block.medianFee | number:'1.0-0' }} sats/vB + ~{{ block.medianFee | number:'1.0-0' }} sat/vB
{{ block.size | bytes: 2 }}
{{ block.tx_count | number }} transactions
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 c13ad949a..932091d6c 100644 --- a/frontend/src/app/components/mempool-block/mempool-block.component.html +++ b/frontend/src/app/components/mempool-block/mempool-block.component.html @@ -11,7 +11,7 @@ Median fee - ~{{ mempoolBlock.medianFee | number:'1.0-0' }} sats/vB () + ~{{ mempoolBlock.medianFee | number:'1.0-0' }} sat/vB () Fee span diff --git a/frontend/src/app/components/mempool-blocks/mempool-blocks.component.html b/frontend/src/app/components/mempool-blocks/mempool-blocks.component.html index d50d10b10..b43152f09 100644 --- a/frontend/src/app/components/mempool-blocks/mempool-blocks.component.html +++ b/frontend/src/app/components/mempool-blocks/mempool-blocks.component.html @@ -5,10 +5,10 @@  
- ~{{ projectedBlock.medianFee | number:'1.0-0' }} sats/vB + ~{{ projectedBlock.medianFee | number:'1.0-0' }} sat/vB
{{ projectedBlock.blockSize | bytes: 2 }}
-
{{ projectedBlock.nTx }} transactions
+
{{ projectedBlock.nTx | number }} transactions
In < {{ 1 * i + 1 }} minute diff --git a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts index ddf86e42a..e9b815dab 100644 --- a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts +++ b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts @@ -49,8 +49,8 @@ export class MempoolGraphComponent implements OnInit, OnChanges { }), Chartist.plugins.legend({ legendNames: [1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100, 125, 150, 175, 200, - 250, 300, 350, 400].map((sats, i, arr) => { - if (sats === 400) { + 250, 300, 350, 400].map((sat, i, arr) => { + if (sat === 400) { return '350+'; } if (i === 0) { @@ -59,7 +59,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges { } return '1 sat/vB'; } - return arr[i - 1] + ' - ' + sats; + return arr[i - 1] + ' - ' + sat; }) }) ] diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html index ce7b735c1..dfde33443 100644 --- a/frontend/src/app/components/transaction/transaction.component.html +++ b/frontend/src/app/components/transaction/transaction.component.html @@ -52,12 +52,12 @@ Fee - {{ tx.fee | number }} sats () + {{ tx.fee | number }} sat () Fee per vByte - {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sats/vB + {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sat/vB   Optimal Overpaid {{ overpaidTimes }}x @@ -119,11 +119,11 @@ Fee - {{ tx.fee | number }} sats () + {{ tx.fee | number }} sat () Fee per vByte - {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sats/vB + {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sat/vB