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 committed by GitHub
parent 586004b973
commit 50b50df148
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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