[debug] SERVICES -> GIT_COMMIT_HASH_MEMPOOL_SPACE in env
This commit is contained in:
@@ -37,9 +37,11 @@ export class ApiService {
|
||||
this.apiBasePath = network ? '/' + network : '';
|
||||
});
|
||||
|
||||
this.getServicesBackendInfo$().subscribe(version => {
|
||||
this.stateService.servicesBackendInfo$.next(version);
|
||||
})
|
||||
if (this.stateService.env.GIT_COMMIT_HASH_MEMPOOL_SPACE) {
|
||||
this.getServicesBackendInfo$().subscribe(version => {
|
||||
this.stateService.servicesBackendInfo$.next(version);
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
list2HStatistics$(): Observable<OptimizedMempoolStats[]> {
|
||||
|
||||
@@ -49,7 +49,7 @@ export interface Env {
|
||||
SIGNET_BLOCK_AUDIT_START_HEIGHT: number;
|
||||
HISTORICAL_PRICE: boolean;
|
||||
ACCELERATOR: boolean;
|
||||
SERVICES: boolean;
|
||||
GIT_COMMIT_HASH_MEMPOOL_SPACE?: string;
|
||||
}
|
||||
|
||||
const defaultEnv: Env = {
|
||||
@@ -81,7 +81,6 @@ const defaultEnv: Env = {
|
||||
'SIGNET_BLOCK_AUDIT_START_HEIGHT': 0,
|
||||
'HISTORICAL_PRICE': true,
|
||||
'ACCELERATOR': false,
|
||||
'SERVICES': false,
|
||||
};
|
||||
|
||||
@Injectable({
|
||||
|
||||
Reference in New Issue
Block a user