Track transaction among mempool blocks.

This commit is contained in:
Simon Lindh
2020-02-23 05:23:24 +07:00
committed by wiz
parent 6e724d4203
commit ae7bff924b
14 changed files with 53 additions and 35 deletions

View File

@@ -48,7 +48,7 @@ export class TransactionComponent implements OnInit, OnDestroy {
.subscribe((tx: Transaction) => {
this.tx = tx;
this.isLoadingTx = false;
window.scrollTo(0, 0);
document.body.scrollTo({ top: 0, behavior: 'smooth' });
if (!tx.status.confirmed) {
this.websocketService.startTrackTransaction(tx.txid);