mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-04 08:34:57 +00:00
Remove unneeded variable
This commit is contained in:
parent
fda65ca83b
commit
19e265c490
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user