diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index 4c2dbccb0..3fe194cb5 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -59,7 +59,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy { fetchRbfHistory$ = new Subject(); fetchCachedTx$ = new Subject(); isCached: boolean = false; - now = new Date().getTime(); + now = Date.now(); timeAvg$: Observable; liquidUnblinding = new LiquidUnblinding(); inputIndex: number; @@ -413,6 +413,8 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy { return; } + this.now = Date.now(); + const txFeePerVSize = this.tx.effectiveFeePerVsize || this.tx.fee / (this.tx.weight / 4);