mirror of
https://github.com/mempool/mempool.git
synced 2025-03-13 11:36:07 +01:00
Get Median Fee on page reload
This commit is contained in:
parent
7a8b2db3fb
commit
47a6118ffb
1 changed files with 7 additions and 0 deletions
|
@ -97,6 +97,13 @@ export class BlockComponent implements OnInit, OnDestroy {
|
|||
})
|
||||
);
|
||||
}
|
||||
|
||||
this.stateService.blocks$.subscribe(([block]) => {
|
||||
if (block.id === blockHash) {
|
||||
this.block = block;
|
||||
}
|
||||
});
|
||||
|
||||
return this.electrsApiService.getBlock$(blockHash);
|
||||
}
|
||||
}),
|
||||
|
|
Loading…
Add table
Reference in a new issue