mirror of
https://github.com/mempool/mempool.git
synced 2025-04-14 23:09:21 +02:00
Fix broken load more for P2PK address page
This commit is contained in:
parent
df107d34b4
commit
43232b9d0a
@ -253,7 +253,9 @@ export class AddressComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
this.isLoadingTransactions = true;
|
||||
this.retryLoadMore = false;
|
||||
this.electrsApiService.getAddressTransactions$(this.address.address, this.lastTransactionTxId)
|
||||
(this.address.is_pubkey
|
||||
? this.electrsApiService.getScriptHashTransactions$((this.address.address.length === 66 ? '21' : '41') + this.address.address + 'ac', this.lastTransactionTxId)
|
||||
: this.electrsApiService.getAddressTransactions$(this.address.address, this.lastTransactionTxId))
|
||||
.subscribe((transactions: Transaction[]) => {
|
||||
if (transactions && transactions.length) {
|
||||
this.lastTransactionTxId = transactions[transactions.length - 1].txid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user