mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
Merge pull request #5538 from mempool/natsoni/fix-wrong-block-skeleton
Fix race condition between accelerations and block audit api calls
This commit is contained in:
commit
1038b4f908
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ export class BlockComponent implements OnInit, OnDestroy {
|
|||
})
|
||||
).subscribe((accelerations) => {
|
||||
this.accelerations = accelerations;
|
||||
if (accelerations.length) {
|
||||
if (accelerations.length && this.strippedTransactions) { // Don't call setupBlockAudit if we don't have transactions yet; it will be called later in overviewSubscription
|
||||
this.setupBlockAudit();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue