packages/hyprspace: fix PeXRouting
This commit is contained in:
parent
65c5c2e58f
commit
4aeea39c10
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func RequestPeX(ctx context.Context, host host.Host, peers []peer.ID) (addrInfos
|
|||
for {
|
||||
str, err := buf.ReadString('\n')
|
||||
if err == io.EOF {
|
||||
return nil, err
|
||||
return addrInfos, nil
|
||||
} else if checkErrPeX(err, s) {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue