Merge legacy and mining /blocks components and APIs

This commit is contained in:
nymkappa
2022-05-20 18:11:02 +02:00
parent b4beb29f31
commit 37b7ea6702
12 changed files with 63 additions and 309 deletions

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}` : ``)
);
}