mirror of
https://github.com/fluencelabs/js-libp2p-websockets
synced 2025-04-25 06:02:26 +00:00
fix: remove async from non-async function
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
This commit is contained in:
parent
e48fee1698
commit
dbcd1ca723
@ -30,7 +30,7 @@ module.exports = (options, handler) => {
|
|||||||
return listen(ma.toOptions())
|
return listen(ma.toOptions())
|
||||||
}
|
}
|
||||||
|
|
||||||
server.getAddrs = async () => {
|
server.getAddrs = () => {
|
||||||
const multiaddrs = []
|
const multiaddrs = []
|
||||||
const address = server.address()
|
const address = server.address()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user