fix: libp2p connections getter

This commit is contained in:
Vasco Santos
2020-04-30 08:46:25 +02:00
committed by Jacob Heun
parent 7fbd1556e8
commit aaf62a40ec
6 changed files with 37 additions and 12 deletions

View File

@ -251,7 +251,7 @@ class Libp2p extends EventEmitter {
* @returns {Map<string, Connection[]>}
*/
get connections () {
return this.registrar.connections
return this.connectionManager.connections
}
/**