Merge legacy and mining /blocks components and APIs

This commit is contained in:
nymkappa committed 2022-05-23 09:08:40 +02:00
1 parent b4beb29f31
commit 37b7ea6702
12 files changed
+63 -309

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ export class ApiService {
getBlocks$(from: number): Observable<BlockExtended[]> {
return this.httpClient.get<BlockExtended[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/blocks-extras` +
this.apiBaseUrl + this.apiBasePath + `/api/v1/blocks` +
(from !== undefined ? `/${from}` : ``)
);
}