mirror of
https://github.com/mempool/mempool.git
synced 2025-04-11 21:39:20 +02:00
Add check for mempoolBlocks length in mempool subscription
This commit is contained in:
parent
e4d92c8fe0
commit
7ab5b2a2b7
@ -507,7 +507,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!found && txFeePerVSize < mempoolBlocks[mempoolBlocks.length - 1].feeRange[0]) {
|
||||
if (!found && mempoolBlocks.length && txFeePerVSize < mempoolBlocks[mempoolBlocks.length - 1].feeRange[0]) {
|
||||
this.txInBlockIndex = 7;
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user