fix: cli: Wait for all results in GetAsks

This commit is contained in:
Łukasz Magiera 2023-01-23 12:48:21 +01:00
parent e695be1cba
commit 804bef72c9

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: