File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ export class IndexerService implements IndexerInterface {
168168
169169 @LogPerformanceAsync ( MetricsEvents . SetIndexerDuration )
170170 async getExecutionResults ( hash : string ) : Promise < Block > {
171- return await this . indexerInterface . getBlock ( hash ) ;
171+ return await this . indexerInterface . getExecutionResults ( hash ) ;
172172 }
173173
174174 @LogPerformanceAsync ( MetricsEvents . SetIndexerDuration )
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export class BlockService {
131131 result . proposer = publicKeys [ result . proposer ] ;
132132 }
133133 if ( ! isChainAndromedaEnabled ) {
134- result . validators = result . validators . map ( ( validator : number ) => publicKeys [ validator ] ) ;
134+ result . validators = result . validators ? .map ( ( validator : number ) => publicKeys [ validator ] ) ;
135135 } else {
136136 result . validators = publicKeys ;
137137 }
You can’t perform that action at this time.
0 commit comments