diff --git a/packages/browser-tests/web/index.ts b/packages/browser-tests/web/index.ts index 01b15c7e64..3e2b2cfb11 100644 --- a/packages/browser-tests/web/index.ts +++ b/packages/browser-tests/web/index.ts @@ -85,9 +85,8 @@ export class WakuHeadless { private shouldUseCustomBootstrap(options: CreateNodeOptions): boolean { const hasEnr = Boolean(this.enrBootstrap); const isDefaultBootstrap = Boolean(options.defaultBootstrap); - const shouldUse = hasEnr && !isDefaultBootstrap; - return shouldUse; + return hasEnr && !isDefaultBootstrap; } private async getBootstrapMultiaddrs(): Promise {