chore: rename address functions and apply suggestions from code review

Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
This commit is contained in:
Vasco Santos
2020-04-28 16:21:25 +02:00
committed by Jacob Heun
parent d75cc97ced
commit 51474c334a
19 changed files with 78 additions and 119 deletions

View File

@ -131,7 +131,7 @@ class TransportManager {
* @async
*/
async listen () {
const addrs = this.libp2p.addressManager.getListenMultiaddrs()
const addrs = this.libp2p.addressManager.getListenAddrs()
if (addrs.length === 0) {
log('no addresses were provided for listening, this node is dial only')