Skip to content

Commit

Permalink
fix: log useProduceBlockV3 default value instead of undefined (#6125)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Nov 23, 2023
1 parent a8767da commit 3f3a207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/validator/src/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export class Validator {
await assertEqualGenesis(opts, genesis);
logger.info("Verified connected beacon node and validator have the same genesisValidatorRoot");

const {useProduceBlockV3, valProposerConfig} = opts;
const {useProduceBlockV3 = defaultOptions.useProduceBlockV3, valProposerConfig} = opts;
const defaultBuilderSelection =
valProposerConfig?.defaultConfig.builder?.selection ?? defaultOptions.builderSelection;
const strictFeeRecipientCheck = valProposerConfig?.defaultConfig.strictFeeRecipientCheck ?? false;
Expand Down

0 comments on commit 3f3a207

Please sign in to comment.