Liquid and Testnet now accessable from the main site

fixes #35
This commit is contained in:
softsimon committed 2020-05-09 20:37:50 +07:00
1 parent 20c7ee98e7
commit 1feb985bec
45 files changed
+452 -162

No files matched your search

@@ -13,7 +13,7 @@ import { AssetsService } from 'src/app/services/assets.service';
changeDetection: ChangeDetectionStrategy.OnPush
})
export class TransactionsListComponent implements OnInit, OnChanges {
network = environment.network;
network = '';
nativeAssetId = environment.nativeAssetId;
@Input() transactions: Transaction[];
@@ -35,6 +35,8 @@ export class TransactionsListComponent implements OnInit, OnChanges {
ngOnInit() {
this.latestBlock$ = this.stateService.blocks$;
this.stateService.networkChanged$.subscribe((network) => this.network = network);
if (this.network === 'liquid') {
this.assetsService.getAssetsMinimalJson$.subscribe((assets) => {
this.assetsMinimal = assets;