Skip to content

Commit 43d5c6a

Browse files
temp debugging
1 parent e3ab93e commit 43d5c6a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/endpoints/nodes/node.service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,11 @@ export class NodeService {
374374
}
375375

376376
async getAllNodesRaw(): Promise<Node[]> {
377+
this.logger.log(`Fetching all nodes raw. nodes fetch enabled=${this.apiConfigService.isNodesFetchFeatureEnabled()}`);
377378
if (this.apiConfigService.isNodesFetchFeatureEnabled()) {
378-
return await this.getAllNodesFromApi();
379+
// todo: revert this - fix configs
380+
const apiNodes = await this.getAllNodesFromApi();
381+
this.logger.log(`apiNodes length: ${apiNodes.length}`);
379382
}
380383

381384
const nodes = await this.getHeartbeatValidatorsAndQueue();

0 commit comments

Comments
 (0)