Merge pull request #10101 from filecoin-project/fix/listasks-wait

fix: cli: Wait for all results in GetAsks
This commit is contained in:
Łukasz Magiera 2023-01-23 12:58:20 +01:00 committed by GitHub
commit 238243cc1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1517,6 +1517,8 @@ func GetAsks(ctx context.Context, api lapi.FullNode) ([]QueriedAsk, error) {
}
}(miner)
}
wg.Wait()
}()
loop:
@ -1590,6 +1592,8 @@ loop:
lk.Unlock()
}(miner)
}
wg.Wait()
}()
loop2: