Update packages/create/src/index.ts

Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
This commit is contained in:
Danish Arora 2022-11-11 19:51:34 +05:30 committed by GitHub
parent 00e57d61ec
commit 55890f1b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ export async function defaultLibp2p(
streamMuxers: [new Mplex()],
connectionEncryption: [new Noise()],
identify: {
host: userAgent || DefaultUserAgent,
host: userAgent ?? DefaultUserAgent,
},
} as Libp2pOptions,
wakuRelay ? { pubsub: wakuRelay } : {},