Update packages/browser-tests/web/index.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Arseniy Klempner 2025-09-08 14:09:06 -07:00
parent 300b72936e
commit 3ef6ad237d
No known key found for this signature in database
GPG Key ID: 51653F18863BD24B

View File

@ -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<string[]> {