Merge branch 'develop' into neilalexander/prio

This commit is contained in:
Neil Alexander 2022-10-25 19:02:16 +01:00 committed by GitHub
commit e130957484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,9 @@ func (c *Core) GetPeers() []PeerInfo {
names := make(map[net.Conn]string)
phony.Block(&c.links, func() {
for _, info := range c.links._links {
if info == nil {
continue
}
names[info.conn] = info.lname
}
})