mirror of https://github.com/status-im/js-waku.git
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…
Reference in New Issue