Remove unneeded variable

This commit is contained in:
Franck Royer 2021-05-13 11:49:36 +10:00
parent fda65ca83b
commit 19e265c490
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 3 deletions

View File

@ -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();
}
}