Remove unused pools.json observable definition

This commit is contained in:
nymkappa 2022-05-10 15:54:11 +02:00
parent d26b1436b5
commit 433bddab1f
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -14,7 +14,6 @@ export class AssetsService {
getAssetsJson$: Observable<{ array: AssetExtended[]; objects: any}>; getAssetsJson$: Observable<{ array: AssetExtended[]; objects: any}>;
getAssetsMinimalJson$: Observable<any>; getAssetsMinimalJson$: Observable<any>;
getMiningPools$: Observable<any>;
constructor( constructor(
private httpClient: HttpClient, private httpClient: HttpClient,
@ -66,6 +65,5 @@ export class AssetsService {
}), }),
shareReplay(1), shareReplay(1),
); );
this.getMiningPools$ = this.httpClient.get(apiBaseUrl + '/resources/pools.json').pipe(shareReplay(1));
} }
} }