Update cli/client.go

This commit is contained in:
Whyrusleeping 2020-07-21 16:52:48 -07:00 committed by GitHub
parent fda0651bb5
commit a7bbf56cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -577,7 +577,7 @@ var clientRetrieveCmd = &cli.Command{
var cleaned []api.QueryOffer
// filter out offers that errored
for _, o := range offers {
if o.Err != "" {
if o.Err == "" {
cleaned = append(cleaned, o)
}
}