From 8bd2aa3dd37590a16ca2ae1b49f0518248a3336b Mon Sep 17 00:00:00 2001 From: Mononaut Date: Wed, 22 Nov 2023 16:38:58 +0900 Subject: [PATCH] simplify acceleration preview summary --- .../accelerate-preview.component.html | 48 +++---------------- .../accelerate-preview.component.ts | 1 - 2 files changed, 7 insertions(+), 42 deletions(-) diff --git a/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html b/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html index 7f4d88688..2869d02ae 100644 --- a/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html +++ b/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html @@ -74,7 +74,7 @@
@@ -87,18 +87,10 @@
Acceleration summary
-
- - -
- + - - - - - - - - - - - - - @@ -166,7 +132,7 @@ - + @@ -180,8 +146,8 @@ - - + + @@ -195,7 +161,7 @@ - + @@ -203,7 +169,7 @@ - +
Next block market rate @@ -121,32 +113,6 @@
- Your maximum - - ~{{ ((estimate.txSummary.effectiveFee + userBid) / estimate.txSummary.effectiveVsize) | number : '1.0-0' }} - sat/vB
- The maximum extra transaction fee you could pay - - - {{ userBid | number }} - - - sats - -
Transaction vsize fee
Estimated acceleration cost
If your tx is accelerated to {{ estimate.targetFeeRate | number : '1.0-0' }} sat/vB
Maximum acceleration cost diff --git a/frontend/src/app/components/accelerate-preview/accelerate-preview.component.ts b/frontend/src/app/components/accelerate-preview/accelerate-preview.component.ts index 933ee6149..7215f9bfb 100644 --- a/frontend/src/app/components/accelerate-preview/accelerate-preview.component.ts +++ b/frontend/src/app/components/accelerate-preview/accelerate-preview.component.ts @@ -56,7 +56,6 @@ export class AcceleratePreviewComponent implements OnInit, OnDestroy, OnChanges maxCost = 0; userBid = 0; selectFeeRateIndex = 1; - showTable: 'estimated' | 'maximum' = 'maximum'; isMobile: boolean = window.innerWidth <= 767.98; maxRateOptions: RateOption[] = [];