correctly set the flag_incorrect_pool flag
This commit is contained in:
parent
5d8daf56bc
commit
3bfc0169ee
@ -2303,7 +2303,7 @@ func (h *MenuHandlers) ViewPool(ctx context.Context, sym string, input []byte) (
|
||||
return res, nil
|
||||
}
|
||||
|
||||
if (poolResp == &dataserviceapi.PoolDetails{}) {
|
||||
if len(poolResp.PoolSymbol) == 0 {
|
||||
// If the API does not return the data, set the flag
|
||||
res.FlagSet = append(res.FlagSet, flag_incorrect_pool)
|
||||
return res, nil
|
||||
|
Loading…
Reference in New Issue
Block a user