Skip to content

Commit

Permalink
Set client version to null initially to avoid fetching multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Jul 29, 2024
1 parent c781797 commit 038e980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/execution/engine/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export class ExecutionEngineHttp implements IExecutionEngine {
// This statement should only be called first time receiving response after startup
this.getClientVersion(getLodestarClientVersion(this.opts)).catch((e) => {
this.logger.debug("Unable to get execution client version", {}, e);
this.clientVersion = null;
});
this.clientVersion = null;
}
this.updateEngineState(getExecutionEngineState({targetState: ExecutionEngineState.ONLINE, oldState: this.state}));
});
Expand Down

0 comments on commit 038e980

Please sign in to comment.