Skip to content

Commit

Permalink
fix WS_NEW_HEADS_ENABLED default
Browse files Browse the repository at this point in the history
  • Loading branch information
treethought committed Nov 6, 2024
1 parent 4f0b2ea commit f9085d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ws-server/src/controllers/eth_subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const handleEthSubscribeNewHeads = (
logger: Logger,
requestDetails: RequestDetails,
): IJsonRpcResponse => {
const wsNewHeadsEnabled = ConfigService.get('WS_NEW_HEADS_ENABLED');
const wsNewHeadsEnabled = ConfigService.get('WS_NEW_HEADS_ENABLED') ?? true;

if (!wsNewHeadsEnabled) {
logger.warn(
Expand Down

0 comments on commit f9085d8

Please sign in to comment.