mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-04 16:45:09 +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() === '') {
|
if (!localMultiaddr || localMultiaddr.toString() === '') {
|
||||||
throw 'Not listening on localhost';
|
throw 'Not listening on localhost';
|
||||||
}
|
}
|
||||||
const multiAddrWithId =
|
return localMultiaddr + '/p2p/' + this.libp2p.peerId.toB58String();
|
||||||
localMultiaddr + '/p2p/' + this.libp2p.peerId.toB58String();
|
|
||||||
return multiAddrWithId;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user