mirror of
https://github.com/mempool/mempool.git
synced 2024-12-27 08:44:26 +01:00
Address value did not calculate self transfers
This commit is contained in:
parent
a292745ea7
commit
7854b6fcb3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user