/api/v1/mining/difficulty/{interval} is not used

This commit is contained in:
nymkappa committed 2022-03-30 19:46:17 +09:00
1 parent 2272988ebe
commit de4c205ecb
3 files changed
-21

No files matched your search

-7
View File
@@ -154,13 +154,6 @@ export class ApiService {
);
}
getHistoricalDifficulty$(interval: string | undefined): Observable<any> {
return this.httpClient.get<any[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/difficulty` +
(interval !== undefined ? `/${interval}` : '')
);
}
getHistoricalHashrate$(interval: string | undefined): Observable<any> {
return this.httpClient.get<any[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/hashrate` +