Address value did not calculate self transfers

This commit is contained in:
softsimon committed 2022-03-15 16:26:49 +01:00
1 parent 878fe9dd3f
commit 876fda73f1
1 file changed
+1 -1
@@ -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);