mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-07 00:03:07 +00:00
Update packages/browser-tests/web/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
300b72936e
commit
3ef6ad237d
@ -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[]> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user