pinokiod 3.8.51 → 3.8.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/peer.js +2 -1
- package/kernel/router/index.js +1 -0
- package/package.json +1 -1
package/kernel/peer.js
CHANGED
|
@@ -45,8 +45,9 @@ class PeerDiscovery {
|
|
|
45
45
|
let peer_info = await Promise.all(Array.from(this.peers).map((host) => {
|
|
46
46
|
return this._refresh(host)
|
|
47
47
|
}))
|
|
48
|
+
console.log({ peer_info })
|
|
48
49
|
for(let i=0; i<peer_info.length; i++) {
|
|
49
|
-
let host =
|
|
50
|
+
let host = peer_info[i]
|
|
50
51
|
this.info[host] = {
|
|
51
52
|
host,
|
|
52
53
|
...peer_info[i],
|
package/kernel/router/index.js
CHANGED