mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-07 16:33:08 +00:00
fix: missed passing protocols to addPeer (#682)
This commit is contained in:
parent
36464acacb
commit
bfbc50eb22
@ -260,7 +260,7 @@ func (pm *PeerManager) AddPeer(address ma.Multiaddr, origin wps.Origin, protocol
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Add to the peer-store
|
//Add to the peer-store
|
||||||
err = pm.addPeer(info.ID, info.Addrs, origin)
|
err = pm.addPeer(info.ID, info.Addrs, origin, protocols...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user