fix: cli: Wait for all results in GetAsks
This commit is contained in:
parent
e695be1cba
commit
804bef72c9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user