mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-28 22:46:01 +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
|
||||
err = pm.addPeer(info.ID, info.Addrs, origin)
|
||||
err = pm.addPeer(info.ID, info.Addrs, origin, protocols...)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user