mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-07 00:13:13 +00:00
fix: setting peerId for store query
This commit is contained in:
parent
e68fcdb554
commit
abe825745f
@ -203,8 +203,8 @@ func (s *WakuStore) RequestRaw(ctx context.Context, peerInfo peer.AddrInfo, stor
|
||||
}
|
||||
|
||||
var params Parameters
|
||||
params.peerAddr = peerInfo.Addrs
|
||||
if len(params.peerAddr) == 0 {
|
||||
params.selectedPeer = peerInfo.ID
|
||||
if params.selectedPeer == "" {
|
||||
return nil, ErrMustSelectPeer
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user