diff --git a/src/lib/waku.ts b/src/lib/waku.ts index f73338271a..b36eefb47c 100644 --- a/src/lib/waku.ts +++ b/src/lib/waku.ts @@ -122,8 +122,6 @@ export class Waku { if (!localMultiaddr || localMultiaddr.toString() === '') { throw 'Not listening on localhost'; } - const multiAddrWithId = - localMultiaddr + '/p2p/' + this.libp2p.peerId.toB58String(); - return multiAddrWithId; + return localMultiaddr + '/p2p/' + this.libp2p.peerId.toB58String(); } }