Redirect unconfirmed bisq transactions to main website for tracking.

This commit is contained in:
softsimon 2021-08-20 14:56:12 +03:00
parent 58af0d78af
commit b34f6fedb6
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -85,7 +85,11 @@ export class BisqTransactionComponent implements OnInit, OnDestroy {
}
if (tx.version) {
this.router.navigate(['/tx/', this.txId], { state: { data: tx, bsqTx: true }});
if (this.stateService.env.BASE_MODULE === 'bisq') {
window.location.replace('https://mempool.space/tx/' + this.txId);
} else {
this.router.navigate(['/tx/', this.txId], { state: { data: tx, bsqTx: true }});
}
return of(null);
}