From 7854b6fcb38b2366c1567654fe288242cc0fc10b Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 15 Mar 2022 15:25:19 +0100 Subject: [PATCH] Address value did not calculate self transfers --- .../components/transactions-list/transactions-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.ts b/frontend/src/app/components/transactions-list/transactions-list.component.ts index 63c5c7367..e9385c501 100644 --- a/frontend/src/app/components/transactions-list/transactions-list.component.ts +++ b/frontend/src/app/components/transactions-list/transactions-list.component.ts @@ -111,7 +111,7 @@ export class TransactionsListComponent implements OnInit, OnChanges { .map((v: Vin) => v.prevout.value || 0) .reduce((a: number, b: number) => a + b, 0); - tx['addressValue'] = addressIn || -addressOut; + tx['addressValue'] = addressIn - addressOut; } observableObject[i] = this.electrsApiService.getOutspends$(tx.txid);