fix: remove async from non-async function

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
This commit is contained in:
Alan Shaw 2019-04-18 15:08:17 +01:00
parent e48fee1698
commit dbcd1ca723
No known key found for this signature in database
GPG Key ID: AFC4442246B75B6F

View File

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