minor refactor

This commit is contained in:
Andre Staltz 2024-01-24 16:02:34 +02:00
parent 649d77618c
commit 0729f58518
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ async function loadAccount() {
await p(peer.set.load)(id) await p(peer.set.load)(id)
await p(peer.dict.load)(id) await p(peer.dict.load)(id)
// Read hubs // Read hubs FIXME: this should be in the ppppp-net scheduler
const multiaddrs = peer.set.values('hubs') const multiaddrs = peer.set.values('hubs')
for (const multiaddr of multiaddrs) { for (const multiaddr of multiaddrs) {
scheduleWithHub(multiaddr) scheduleWithHub(multiaddr)