Skip to content

Commit

Permalink
Fix to be sure subscriber is ready when subscription is used (Consens…
Browse files Browse the repository at this point in the history
  • Loading branch information
zilm13 authored Apr 16, 2024
1 parent 996b5f6 commit a5dfb3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -890,12 +890,12 @@ public void initValidatorApiHandler() {
new GraffitiBuilder(
beaconConfig.validatorConfig().getClientGraffitiAppendFormat(),
beaconConfig.validatorConfig().getGraffitiProvider().get());
eventChannels.subscribe(ExecutionClientVersionChannel.class, graffitiBuilder);
final ExecutionClientVersionProvider executionClientVersionProvider =
new ExecutionClientVersionProvider(
executionLayer,
eventChannels.getPublisher(ExecutionClientVersionChannel.class),
graffitiBuilder.getConsensusClientVersion());
eventChannels.subscribe(ExecutionClientVersionChannel.class, graffitiBuilder);
final BlockOperationSelectorFactory operationSelector =
new BlockOperationSelectorFactory(
spec,
Expand Down

0 comments on commit a5dfb3b

Please sign in to comment.